This is a template for a Rust WASM application. It uses wasm-wasi32 as the target.
Before you begin, ensure you have met the following requirements:
- Latest version of Rust and Cargo.
wasm32-wasitarget:
rustup target add wasm32-wasiwasiextension forcargo:
cargo install cargo-wasiwasmtimeruntime:
curl https://wasmtime.dev/install.sh -sSf | bashTo build the application, run the following command followed by the desired build options:
cargo wasi ...