Skip to content

Commit aa13fa5

Browse files
wasm: Depend on wasm-bindgen 0.2.89 or higher (#497)
wasm-bindgen 0.2.62 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. For more information, see - rust-lang/rust#115666 - rust-lang/rust#117918 - rust-lang/rust#122532
1 parent 5edb045 commit aa13fa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ wasi = { version = "0.11", default-features = false }
2828
windows-targets = "0.52"
2929

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

3636
[features]
3737
# Implement std-only traits for getrandom::Error

0 commit comments

Comments
 (0)