Skip to content

Commit edc60dc

Browse files
committed
enable wasm-bindgen feature of rand dependency
1 parent 269d0ba commit edc60dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/stdsimd/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ quickcheck = "0.7"
3333
rand = "0.6"
3434
cupid = "0.6.0"
3535

36+
[target.'cfg(target_arch = "wasm32")'.dependencies]
37+
rand = { version = "0.6", features = ["wasm-bindgen"] }
38+
3639
[[example]]
3740
name = "hex"
3841
path = "../../examples/hex.rs"

0 commit comments

Comments
 (0)