For now, please install from github.
[dependencies]
yaw = { git = "https://github.com/bokuweb/yaw.git" }
use yaw::*;
fn main() -> Result<(), error::YawError> {
let ins = instantiate(&include_bytes!("./add.wasm")[..], None)?;
let ret = ins.invoke("add", &[RuntimeValue::I32(1), RuntimeValue::I32(2)])?;
println!("1 + 2 = {:?}", ret);
Ok(())
}
- Run gameboy emulator
- Add validator
- Support WASI
- Run NES emulator
- Support no_std
- Support ARM core
MIT