I am able to build with cargo build
but when running unit tests, I've got the following error:
Compiling command-tests v0.0.0 (/Users/tuongaz/dev/opensource/wasmtime/crates/test-programs/command-tests)
error[E0433]: failed to resolve: could not find `wasm32` in `arch`
--> crates/test-programs/command-tests/src/bin/export_cabi_realloc.rs:27:21
|
27 | core::arch::wasm32::unreachable();
| ^^^^^^ could not find `wasm32` in `arch`
do you have the wasm32-wasi
rust target installed? it is required to run the wasmtime tests. you can install it via
rustup target add wasm32-wasi
Last updated: Dec 23 2024 at 13:07 UTC