From 81f004387299889b1264befe10958dcce68dfd1c Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Mon, 21 Jan 2019 12:00:52 +0100 Subject: [PATCH] enable wasm-bindgen feature of rand dependency --- library/stdarch/crates/stdsimd/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/stdarch/crates/stdsimd/Cargo.toml b/library/stdarch/crates/stdsimd/Cargo.toml index 2a9c52b09dfc..4792057d8612 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"