mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20: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!
12 lines
162 B
Rust
12 lines
162 B
Rust
use wasm_bindgen::prelude::*;
|
|
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
type Foo;
|
|
|
|
#[wasm_bindgen(method, structural, final)]
|
|
fn bar(this: &Foo);
|
|
}
|
|
|
|
fn main() {}
|