mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 08:21:25 +01:00
Enable parking_lot's wasm-bindgen feature on WASM.
This commit is contained in:
1 parent
6df5f95b67
commit
c36e08073f
1 file changed
+2
@@ -274,6 +274,8 @@ web-sys = { version = "0.3.53", features = [
|
||||
]}
|
||||
js-sys = "0.3.50"
|
||||
wasm-bindgen-futures = "0.4.23"
|
||||
# enable parking_lot's wasm-bindgen feature so that it, in turn, enables that of crate `instant`
|
||||
parking_lot = { version = "0.11", features = ["wasm-bindgen"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
||||
console_error_panic_hook = "0.1.6"
|
||||
|
||||
Reference in new issue
Block a user