1 #![cfg(target_arch = "wasm32")]
2 
3 extern crate js_sys;
4 extern crate wasm_bindgen;
5 extern crate wasm_bindgen_test;
6 extern crate wasm_bindgen_test_crate_a;
7 extern crate wasm_bindgen_test_crate_b;
8 
9 #[cfg(feature = "serde-serialize")]
10 #[macro_use]
11 extern crate serde_derive;
12 
13 use wasm_bindgen::prelude::*;
14 
15 pub mod api;
16 pub mod arg_names;
17 pub mod char;
18 pub mod classes;
19 pub mod closures;
20 pub mod comments;
21 pub mod duplicate_deps;
22 pub mod duplicates;
23 pub mod enums;
24 #[path = "final.rs"]
25 pub mod final_;
26 pub mod futures;
27 pub mod getters_and_setters;
28 pub mod import_class;
29 pub mod imports;
30 pub mod js_objects;
31 pub mod jscast;
32 pub mod math;
33 pub mod no_shims;
34 pub mod node;
35 pub mod option;
36 pub mod optional_primitives;
37 pub mod rethrow;
38 pub mod simple;
39 pub mod slice;
40 pub mod structural;
41 pub mod truthy_falsy;
42 pub mod u64;
43 pub mod validate_prt;
44 pub mod variadic;
45 pub mod vendor_prefix;
46 
47 // should not be executed
48 #[wasm_bindgen(start)]
start()49 pub fn start() {
50     panic!();
51 }
52