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-wasi
target:
rustup target add wasm32-wasi
wasi
extension forcargo
:
cargo install cargo-wasi
wasmtime
runtime:
curl https://wasmtime.dev/install.sh -sSf | bash
To build the application, run the following command followed by the desired build options:
cargo wasi ...