Skip to content

Commit

Permalink
Enable parking_lot's wasm-bindgen feature on WASM.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmartindale authored and kvark committed Oct 7, 2021
1 parent 6df5f95 commit c36e080
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c36e080

Please sign in to comment.