mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-17 18:50:51 +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!
14 lines
172 B
Rust
14 lines
172 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen(module = "./foo.js")]
|
|
extern {
|
|
fn wut();
|
|
}
|
|
|
|
#[wasm_bindgen(module = "../foo.js")]
|
|
extern {
|
|
fn wut2();
|
|
}
|
|
|
|
fn main() {}
|