14 lines
165 B
Rust
14 lines
165 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen]
|
|
pub fn foo() -> &u32 {}
|
|
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
fn foo(Foo(x): Foo);
|
|
|
|
fn foo() -> &u32;
|
|
}
|
|
|
|
fn main() {}
|