Hi all, I'm trying to follow the instructions https://github.com/bytecodealliance/wit-bindgen#guest-rust
seems to work fine when building on Linux, but windows on Windows, I see this error when running cargo build --target wasm32-wasi
:
error: failed to run custom build command for `cranelift-codegen v0.94.0`
Caused by:
process didn't exit successfully: `C:\Users\achin\tmp\31\guests\target\debug\build\cranelift-codegen-233e80ca90a4f523\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'error when identifying target: "no supported isa found for arch `wasm32`"', C:\Users\achin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cranelift-codegen-0.94.0\build.rs:43:53
Last updated: Nov 22 2024 at 16:03 UTC