fix getrandom (#712)

This commit is contained in:
Mariusz Kryński 2020-10-22 00:55:35 +02:00 committed by GitHub
parent 677cb1fc67
commit 894cc5e40a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,3 +14,6 @@ keywords = ["bevy"]
[dependencies] [dependencies]
ahash = "0.5.3" ahash = "0.5.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = {version = "0.2.0", features = ["js"]}