Skip to content

Commit

Permalink
wasm: Depend on wasm-bindgen 0.2.89 or higher
Browse files Browse the repository at this point in the history
wasm-bindgen 0.2.83 is not compatible for a wasm ABI change that
rustc wishes to enable by default for wasm, 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 matches the C ABI, so depend on that.
  • Loading branch information
workingjubilee committed Aug 24, 2024
1 parent 5edb045 commit 9355ef3
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,10 +28,10 @@ wasi = { version = "0.11", default-features = false }
windows-targets = "0.52"

[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dependencies]
wasm-bindgen = { version = "0.2.62", default-features = false, optional = true }
wasm-bindgen = { version = "0.2.89", default-features = false, optional = true }
js-sys = { version = "0.3", optional = true }
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3.18"
wasm-bindgen-test = "0.3.39"

[features]
# Implement std-only traits for getrandom::Error
Expand Down

0 comments on commit 9355ef3

Please sign in to comment.