Skip to content

Commit 94c8032

Browse files
committed
Adds getrandom wasm_js feature
1 parent dfa1521 commit 94c8032

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/bevy_platform_support/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ hashbrown = { version = "0.15.1", features = [
6060

6161
[target.'cfg(target_arch = "wasm32")'.dependencies]
6262
web-time = { version = "1.1", default-features = false, optional = true }
63-
getrandom = { version = "0.3.1", default-features = false, optional = true }
63+
getrandom = { version = "0.3.1", default-features = false, features = [
64+
"wasm_js",
65+
], optional = true }
6466

6567
[target.'cfg(not(all(target_has_atomic = "8", target_has_atomic = "16", target_has_atomic = "32", target_has_atomic = "64", target_has_atomic = "ptr")))'.dependencies]
6668
portable-atomic = { version = "1", default-features = false, features = [

0 commit comments

Comments
 (0)