wasm-core 0.2.15

Portable WebAssembly implementation
Documentation
1
2
3
4
5
6
7
8
9
10
extern "C" {
    fn __wcore_ping(v: i32) -> i32;
}

#[no_mangle]
pub extern "C" fn call() -> i32 {
    unsafe {
        __wcore_ping(42)
    }
}