Skip to content

Commit 0e34ba2

Browse files
author
ligt
committed
fix: build wasm failed
1 parent 9934c7f commit 0e34ba2

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.DS_Store

6 KB
Binary file not shown.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sha2 = { version = "0.10.7", optional = true, features = ["oid"] }
4646

4747
[target.'cfg(target_arch = "wasm32")'.dependencies]
4848
js-sys = "0.3"
49-
getrandom = "0.2"
49+
getrandom = { version = "0.2", features = ["js"] }
5050

5151
[dev-dependencies]
5252
wasm-bindgen-test = "0.3.1"

0 commit comments

Comments
 (0)