Skip to content

Commit

Permalink
Workaround for Wasm compile target
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Dec 7, 2021
1 parent cd1eb65 commit 415feab
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
31 changes: 24 additions & 7 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions packages/transformers/js/wasm/Cargo.toml
Expand Up @@ -13,3 +13,7 @@ parcel-js-swc-core = { path = "../core" }
serde = "1"
serde-wasm-bindgen = "0.3.0"
wasm-bindgen = "0.2"

# https://github.com/Amanieu/parking_lot/issues/269
[target.'cfg(target_arch = "wasm32")'.dependencies]
parking_lot_core = "=0.8.0"

0 comments on commit 415feab

Please sign in to comment.