Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 402 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 402 Bytes

running-wasm-in-rust

Running wasm in Rust.

Converting WebAssembly text format to wasm

# install wasm-tools, frist only
cargo install wasm-tools

# hello.wat to hello.wasm
wasm-tools parse hello.wat -o hello.wasm

Running wasm in Rust

cargo run

Running wasm in js

node src/main.js

References