1 2 3 4 5
// $ cargo build --target wasm32-unknown-unknown --example add #[no_mangle] pub fn add(a: i32, b: i32) -> i32 { a + b }