fix stdweb
This commit is contained in:
@@ -122,6 +122,10 @@ extern crate log;
|
||||
#[allow(unused)]
|
||||
macro_rules! error { ($($x:tt)*) => () }
|
||||
|
||||
// temp fix for stdweb
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
extern crate std;
|
||||
|
||||
#[cfg(any(
|
||||
target_os = "android",
|
||||
target_os = "netbsd",
|
||||
|
||||
@@ -7,14 +7,12 @@
|
||||
// except according to those terms.
|
||||
|
||||
//! Implementation for WASM via stdweb
|
||||
extern crate std;
|
||||
|
||||
use core::cell::RefCell;
|
||||
use core::mem;
|
||||
use core::num::NonZeroU32;
|
||||
use std::thread_local;
|
||||
|
||||
use stdweb::js;
|
||||
use stdweb::{js, _js_impl};
|
||||
use stdweb::unstable::TryInto;
|
||||
use stdweb::web::error::Error as WebError;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user