1 2 3 4 5 6 7 8 9 10 11 12 13
use wasm_bindgen::prelude::*; #[wasm_bindgen] pub fn foo() -> &u32 {} #[wasm_bindgen] extern "C" { fn foo(Foo(x): Foo); fn foo() -> &u32; } fn main() {}