We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getrandom
0.3
1 parent 1feda50 commit 71ca5d7Copy full SHA for 71ca5d7
bindings/javascript/.cargo/config.toml
@@ -1,3 +1,6 @@
1
[target.aarch64-unknown-linux-musl]
2
linker = "aarch64-linux-musl-gcc"
3
rustflags = ["-C", "target-feature=-crt-static"]
4
+
5
+[target.wasm32-unknown-unknown]
6
+rustflags = ["--cfg", "getrandom_backend=\"wasm_js\""]
bindings/javascript/Cargo.toml
@@ -28,7 +28,7 @@ napi-derive = "2.14.4"
28
[target.'cfg(target_arch = "wasm32")'.dependencies]
29
wasm-bindgen = "=0.2.100"
30
serde-wasm-bindgen = "0.6"
31
-getrandom = { version = "0.2", features = ["js"] }
+getrandom = { version = "0.3.0", features = ["wasm_js"] }
32
serde = { version = "1", features = ["derive"], default-features = false }
33
34
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.css-inline]
0 commit comments