mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
enable wasm-bindgen feature of rand dependency
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user