mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 09:51:06 +00:00
This migrates our UI tests to the recently published `trybuild` crate which should hopefully be a bit more robust than `compiletest` over time!
13 lines
175 B
Rust
13 lines
175 B
Rust
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>() {}
|
|
|
|
fn main() {}
|