| 1 |
#![cfg(target_arch = "wasm32")] |
| 2 |
#![allow(renamed_and_removed_lints)] // clippy::drop_ref will be renamed to drop_ref |
| 3 |
#![allow(clippy::drop_ref, clippy::drop_non_drop)] |
| 4 |
|
| 5 |
extern crate js_sys; |
| 6 |
extern crate wasm_bindgen; |
| 7 |
extern crate wasm_bindgen_test; |
| 8 |
extern crate wasm_bindgen_test_crate_a; |
| 9 |
extern crate wasm_bindgen_test_crate_b; |
| 10 |
|
| 11 |
#[cfg(feature = "serde-serialize")] |
| 12 |
#[macro_use] |
| 13 |
extern crate serde_derive; |
| 14 |
|
| 15 |
use wasm_bindgen::prelude::*; |
| 16 |
|
| 17 |
pub mod api; |
| 18 |
pub mod arg_names; |
| 19 |
pub mod bigint; |
| 20 |
pub mod char; |
| 21 |
pub mod classes; |
| 22 |
pub mod closures; |
| 23 |
pub mod comments; |
| 24 |
pub mod duplicate_deps; |
| 25 |
pub mod duplicates; |
| 26 |
pub mod enum_vecs; |
| 27 |
pub mod enums; |
| 28 |
#[path = "final.rs"] |
| 29 |
pub mod final_; |
| 30 |
pub mod futures; |
| 31 |
pub mod getters_and_setters; |
| 32 |
pub mod import_class; |
| 33 |
pub mod imports; |
| 34 |
pub mod intrinsics; |
| 35 |
pub mod js_keywords; |
| 36 |
pub mod js_objects; |
| 37 |
pub mod jscast; |
| 38 |
pub mod link_to; |
| 39 |
pub mod macro_rules; |
| 40 |
pub mod math; |
| 41 |
pub mod no_shims; |
| 42 |
pub mod node; |
| 43 |
pub mod option; |
| 44 |
pub mod optional_primitives; |
| 45 |
pub mod owned; |
| 46 |
pub mod result; |
| 47 |
pub mod result_jserror; |
| 48 |
pub mod rethrow; |
| 49 |
pub mod simple; |
| 50 |
pub mod slice; |
| 51 |
pub mod string_vecs; |
| 52 |
pub mod struct_vecs; |
| 53 |
pub mod structural; |
| 54 |
pub mod truthy_falsy; |
| 55 |
pub mod usize; |
| 56 |
pub mod validate_prt; |
| 57 |
pub mod variadic; |
| 58 |
pub mod vendor_prefix; |
| 59 |
|
| 60 |
// should not be executed |
| 61 |
#[wasm_bindgen(start)] |
| 62 |
fn start() { |
| 63 |
panic!(); |
| 64 |
} |