diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-10-13 15:10:05 +0200 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-10-13 15:10:05 +0200 |
| commit | ab7890764023a751ae33b095e206102d3774249f (patch) | |
| tree | 446aee393185361152ad9e776e78214bef11baa3 /examples/rust | |
| parent | 4c1f44a79d0e04fb33042c2eabc27040d260dfa5 (diff) | |
ci: fix build
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust')
| -rw-r--r-- | examples/rust/src/tinywasm_no_std.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rust/src/tinywasm_no_std.rs b/examples/rust/src/tinywasm_no_std.rs index 07a6a8d..9a31d20 100644 --- a/examples/rust/src/tinywasm_no_std.rs +++ b/examples/rust/src/tinywasm_no_std.rs @@ -5,6 +5,7 @@ use tinywasm::{Extern, FuncContext}; extern crate alloc; +#[cfg(not(feature = "std"))] #[panic_handler] fn panic(_info: &core::panic::PanicInfo) -> ! { loop {} |
