wasm-bindgen/crates/macro/ui-tests/start-function.rs
2019-01-02 08:35:05 -08:00

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>() {}