Fix wasm target
This commit is contained in:
parent
3ca0eb1eea
commit
a7759cfa06
2 changed files with 4 additions and 0 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -827,8 +827,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
|
checksum = "418d37c8b1d42553c93648be529cb70f920d3baf8ef469b74b9638df426e0b4c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
|
"js-sys",
|
||||||
"libc",
|
"libc",
|
||||||
"wasi",
|
"wasi",
|
||||||
|
"wasm-bindgen",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1067,6 +1069,7 @@ dependencies = [
|
||||||
"bracket-lib",
|
"bracket-lib",
|
||||||
"console_error_panic_hook",
|
"console_error_panic_hook",
|
||||||
"cpal",
|
"cpal",
|
||||||
|
"getrandom",
|
||||||
"hecs",
|
"hecs",
|
||||||
"instant",
|
"instant",
|
||||||
"oddio",
|
"oddio",
|
||||||
|
|
|
@ -24,6 +24,7 @@ console_error_panic_hook = "0.1.7"
|
||||||
wasm-bindgen = "0.2.79"
|
wasm-bindgen = "0.2.79"
|
||||||
instant = "0.1.12"
|
instant = "0.1.12"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
|
getrandom = { version = "0.2.4", features = ["js"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.build-dependencies]
|
[target.'cfg(windows)'.build-dependencies]
|
||||||
winres = "0.1.12"
|
winres = "0.1.12"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue