Skip to content

Commit

Permalink
Depend on wasm-bindgen 0.2.89 or higher
Browse files Browse the repository at this point in the history
wasm-bindgen 0.2.70 is not compatible with a wasm ABI change that
rustc wishes to enable by default for wasm32-unknown-unknown,
currently gated behind passing the -Zwasm-c-abi flag to rustc.

wasm-bindgen 0.2.89 should exhibit seamless behavior before and
after the ABI change to match the C ABI, so depend on that.
  • Loading branch information
workingjubilee committed Aug 25, 2024
1 parent bf83753 commit 225c4c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ core-foundation-sys = "0.8.3"
windows-core = { version = ">=0.50, <=0.52" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.50"
wasm-bindgen = "0.2.70"
js-sys = "0.3.66"
wasm-bindgen = "0.2.89"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down

0 comments on commit 225c4c0

Please sign in to comment.