Skip to content

Commit 8269409

Browse files
committed
Test build for ESP IDF too
1 parent 6aa8581 commit 8269409

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/crypto_self_test_std.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn cycles() -> std::time::Instant {
77
}
88

99
fn main() {
10-
let mut tls = Tls::new();
10+
let mut tls = Tls::new().unwrap();
1111

1212
tls.set_debug(1);
1313

justfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ check arch toolchain:
1616
cargo +{{ toolchain }} b{{ arch }} --example async_server_mTLS --features="examples-async"
1717
cargo +{{ toolchain }} b{{ arch }} --example edge_server --features="examples-async"
1818
cargo +{{ toolchain }} b{{ arch }} --example crypto_self_test --features="examples"
19-
cargo +{{ toolchain }} b{{ arch }} --example crypto_self_test_std --features="examples-std"
19+
cargo +{{ toolchain }} b --example crypto_self_test_std --features="examples-std" --target x86_64-unknown-linux-gnu -Z build-std=std,panic_abort
20+
cargo +{{ toolchain }} b --example crypto_self_test_std --features="examples-std" --target xtensa-esp32-espidf -Z build-std=std,panic_abort
2021
cargo +{{ toolchain }} fmt --all -- --check

0 commit comments

Comments
 (0)