summaryrefslogtreecommitdiff
path: root/examples/rust/README.md
blob: 305a29c921bf0beda0b11a60c98cb776452d20a3 (plain)
# WebAssembly Rust Examples

This is a separate crate that generates WebAssembly from Rust code.
It is used by the `rust` example.

Requires the `wasm32-unknown-unknown` target to be installed.

To build the example artifacts used by `cargo run --example rust -- <name>`, run `./examples/rust/build.sh`.
That script also requires `binaryen` and `wabt` to be installed.