From 225c4c0a97d5d146020c3d1b3cd18d8798b664ca Mon Sep 17 00:00:00 2001 From: Jubilee Young Date: Sat, 24 Aug 2024 18:26:58 -0700 Subject: [PATCH] Depend on wasm-bindgen 0.2.89 or higher 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. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0b2c3f1..b711654 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"