Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
18
third-party/vendor/wasm-bindgen/tests/wasm/duplicate_deps.rs
vendored
Normal file
18
third-party/vendor/wasm-bindgen/tests/wasm/duplicate_deps.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen_test::*;
|
||||
use wasm_bindgen_test_crate_a as a;
|
||||
use wasm_bindgen_test_crate_b as b;
|
||||
|
||||
#[wasm_bindgen(module = "tests/wasm/duplicate_deps.js")]
|
||||
extern "C" {
|
||||
fn assert_next_undefined();
|
||||
fn assert_next_ten();
|
||||
}
|
||||
|
||||
#[wasm_bindgen_test]
|
||||
fn works() {
|
||||
assert_next_undefined();
|
||||
a::test();
|
||||
assert_next_ten();
|
||||
b::test();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue