make work cargo build --target wasm32-unknown-unknown
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ std_rand = ["rand/std_rng", "rand/std"]
|
||||
js = ["getrandom/js"]
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
getrandom = { version = "0.2", optional = true }
|
||||
getrandom = { version = "*", features = ["js"] }
|
||||
|
||||
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies]
|
||||
wasm-bindgen-test = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user