/exp-async-rust-wasmtime

Call async Rust in WebAssembly via Wasmtime

Primary LanguageRust

exp-async-rust-wasmtime

Experiment: Asynchronous Rust via Wasmtime.

Useful Commands

# Add WASM target
rustup target add wasm32-unknown-unknown

# Build WASM code
cargo build --manifest-path ./wasm/Cargo.toml --target wasm32-unknown-unknown

# Run bin
cargo run

# Run tests
cargo test