bytecodealliance/cargo-wasi

Maybe I found an alternative to cargo-wasi

tu6ge opened this issue · 1 comments

tu6ge commented

create ./.cargo/config.toml file, and write content:

[build]
target = "wasm32-wasi"

[target.wasm32-wasi]
runner = "wasmtime"

next, run some cargo command,

  • cargo run
  • cargo build
  • ...

Thanks for the suggestion, and if that works for you I'd encourage you to use it!