wasm-bindgen/crates/macro/ui-tests/start-function.rs

15 lines
214 B
Rust
Raw Normal View History

2019-01-02 19:35:01 +03:00
#![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>() {}