Skip to content

cgojin/running-wasm-in-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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