Skip to content

Commit

Permalink
Merge #29
Browse files Browse the repository at this point in the history
29: Make parking_lot compile for wasm r=nikomatsakis a=brson

Trying to get dada-web to run I hit an error in the wasm's imports. Per rustwasm/wasm-bindgen#2215 (comment) I turned on the wasm-bindgen feature of parking_lot and now dada-web works for me.

Co-authored-by: Brian Anderson <[email protected]>
  • Loading branch information
bors[bot] and brson authored Jan 11, 2022
2 parents c092bee + 18cd462 commit dec9dc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/dada-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version = "0.1.0"
[dependencies]
async-trait = "0.1.52"
eyre = "0.6.5"
parking_lot = "0.11.2"
parking_lot = { version = "0.11.2", features = ["wasm-bindgen"] }
wasm-bindgen = "0.2.78"
wasm-bindgen-futures = "*"

Expand Down

0 comments on commit dec9dc9

Please sign in to comment.