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/worker/shared.rs
vendored
Normal file
18
third-party/vendor/wasm-bindgen/tests/worker/shared.rs
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#![cfg(target_arch = "wasm32")]
|
||||
|
||||
extern crate js_sys;
|
||||
extern crate wasm_bindgen;
|
||||
extern crate wasm_bindgen_test;
|
||||
|
||||
use wasm_bindgen::prelude::*;
|
||||
use wasm_bindgen_test::wasm_bindgen_test_configure;
|
||||
|
||||
wasm_bindgen_test_configure!(run_in_shared_worker);
|
||||
|
||||
pub mod modules;
|
||||
|
||||
// should not be executed
|
||||
#[wasm_bindgen(start)]
|
||||
fn start() {
|
||||
panic!();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue