Skip to content

Commit 94efb40

Browse files
committed
Remove remaining WASM remnants from rand to rand_os
1 parent f7bfa1a commit 94efb40

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

rand_os/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@
126126
#![deny(missing_docs)]
127127
#![deny(missing_debug_implementations)]
128128
#![doc(test(attr(allow(unused_variables), deny(warnings))))]
129-
// for stdweb
130-
#![recursion_limit="128"]
129+
130+
#![cfg_attr(feature = "stdweb", recursion_limit="128")]
131131

132132
pub extern crate rand_core;
133133
#[cfg(feature = "log")]

src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,12 @@
5858
#![cfg_attr(not(feature="std"), no_std)]
5959
#![cfg_attr(all(feature="alloc", not(feature="std")), feature(alloc))]
6060
#![cfg_attr(all(feature="simd_support", feature="nightly"), feature(stdsimd))]
61-
#![cfg_attr(feature = "stdweb", recursion_limit="128")]
6261

6362
#[cfg(feature = "std")] extern crate core;
6463
#[cfg(all(feature = "alloc", not(feature="std")))] #[macro_use] extern crate alloc;
6564

6665
#[cfg(feature="simd_support")] extern crate packed_simd;
6766

68-
#[cfg(all(target_arch="wasm32", not(target_os="emscripten"), feature="stdweb"))]
69-
#[macro_use]
70-
extern crate stdweb;
71-
7267
#[cfg(feature = "rand_os")]
7368
extern crate rand_os;
7469

0 commit comments

Comments
 (0)