adding-machine is a library implemented in Rust that adds two numbers together.
runrunrun is a binary implemented in Rust that uses wasmtime to run adding-machine.
Note that the path to the wasm bytes is hard-coded in
runrunrun/main.rs. Update this to reflect wherever you checked this code out.
- cd adding-machine && cargo build --target wasm32-unknown-unknown
- cd runrunrun && cargo build
cd runrunrun && cargo run