Skip to content

Commit

Permalink
chore: Depend on wasm-bindgen 0.2.89 or higher
Browse files Browse the repository at this point in the history
wasm-bindgen 0.2.68 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 authored and seanmonstar committed Aug 28, 2024
1 parent 88bd9be commit 193ed1f
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 @@ -191,7 +191,7 @@ system-configuration = { version = "0.6.0", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.45"
serde_json = "1.0"
wasm-bindgen = "0.2.68"
wasm-bindgen = "0.2.89"
wasm-bindgen-futures = "0.4.18"
wasm-streams = { version = "0.4", optional = true }

Expand All @@ -216,7 +216,7 @@ features = [
]

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen = { version = "0.2.68", features = ["serde-serialize"] }
wasm-bindgen = { version = "0.2.89", features = ["serde-serialize"] }
wasm-bindgen-test = "0.3"

[lints.rust]
Expand Down

0 comments on commit 193ed1f

Please sign in to comment.