mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-18 07:11:56 +03:00
15 lines
214 B
Rust
15 lines
214 B
Rust
#![crate_type = "rlib"]
|
|
|
|
extern crate wasm_bindgen;
|
|
|
|
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen(start)]
|
|
pub fn foo() {}
|
|
|
|
#[wasm_bindgen(start)]
|
|
pub fn foo2(x: u32) {}
|
|
|
|
#[wasm_bindgen(start)]
|
|
pub fn foo3<T>() {}
|