We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e844d5 commit 5e23e13Copy full SHA for 5e23e13
src/lib.rs
@@ -122,6 +122,10 @@ extern crate log;
122
#[allow(unused)]
123
macro_rules! error { ($($x:tt)*) => () }
124
125
+// temp fix for stdweb
126
+#[cfg(target_arch = "wasm32")]
127
+extern crate std;
128
+
129
#[cfg(any(
130
target_os = "android",
131
target_os = "netbsd",
src/wasm32_stdweb.rs
@@ -7,14 +7,12 @@
7
// except according to those terms.
8
9
//! Implementation for WASM via stdweb
10
-extern crate std;
11
-
12
use core::cell::RefCell;
13
use core::mem;
14
use core::num::NonZeroU32;
15
use std::thread_local;
16
17
-use stdweb::js;
+use stdweb::{js, _js_impl};
18
use stdweb::unstable::TryInto;
19
use stdweb::web::error::Error as WebError;
20
0 commit comments