mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-18 07:11:56 +03:00
61fc8d2567
* js-sys: Return `f64` instead of `Number` * js-sys: remove trailing whitespace * js-sys: Ensure that all imported types derive Clone and Debug * js-sys: Imported functions should always take JS object arguments by-ref
35 lines
620 B
Rust
Executable File
35 lines
620 B
Rust
Executable File
#![cfg(target_arch = "wasm32")]
|
|
#![feature(use_extern_macros)]
|
|
#![allow(non_snake_case)]
|
|
|
|
extern crate js_sys;
|
|
extern crate wasm_bindgen;
|
|
extern crate wasm_bindgen_test;
|
|
|
|
pub mod global_fns;
|
|
pub mod Array;
|
|
pub mod ArrayBuffer;
|
|
pub mod ArrayIterator;
|
|
pub mod Boolean;
|
|
pub mod DataView;
|
|
pub mod Date;
|
|
pub mod Error;
|
|
pub mod Function;
|
|
pub mod Generator;
|
|
pub mod Intl;
|
|
pub mod JsString;
|
|
pub mod Map;
|
|
pub mod MapIterator;
|
|
pub mod Math;
|
|
pub mod Number;
|
|
pub mod Object;
|
|
pub mod Proxy;
|
|
pub mod Reflect;
|
|
pub mod Set;
|
|
pub mod SetIterator;
|
|
pub mod Symbol;
|
|
pub mod TypedArray;
|
|
pub mod WeakMap;
|
|
pub mod WeakSet;
|
|
pub mod WebAssembly;
|