about summary refs log tree commit diff
path: root/library/stdarch/crates
diff options
context:
space:
mode:
Diffstat (limited to 'library/stdarch/crates')
-rw-r--r--library/stdarch/crates/stdsimd/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/stdarch/crates/stdsimd/Cargo.toml b/library/stdarch/crates/stdsimd/Cargo.toml
index 2a9c52b09df..4792057d861 100644
--- a/library/stdarch/crates/stdsimd/Cargo.toml
+++ b/library/stdarch/crates/stdsimd/Cargo.toml
@@ -33,6 +33,9 @@ quickcheck = "0.7"
 rand = "0.6"
 cupid = "0.6.0"
 
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+rand = { version = "0.6", features = ["wasm-bindgen"] }
+
 [[example]]
 name = "hex"
 path = "../../examples/hex.rs"