A Rust demo for Easegress WASM
- Add
wasm32-unknown-unknown
target.
rustup target add wasm32-unknown-unknown
- Build with this command
cargo build --target wasm32-unknown-unknown --release
If success, it will generate easegress_demo.wasm
at the target/wasm32-unknown-unknown/release
folder.
If implement in your repo, please check [lib]
and [dependencies]
in Cargo.toml
.