mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 18:50:51 +00: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>() {}
|