Skip to content

Commit 16b2425

Browse files
plotters: Depend on wasm-bindgen 0.2.89 or higher
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.
1 parent 7e7d2aa commit 16b2425

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plotters/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ default-features = false
4747
features = ["jpeg", "png", "bmp"]
4848

4949
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.wasm-bindgen]
50-
version = "0.2.62"
50+
version = "0.2.89"
5151

5252
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-sys]
53-
version = "0.3.51"
53+
version = "0.3.66"
5454
features = [
5555
"Document",
5656
"DomRect",
@@ -126,7 +126,7 @@ rand_distr = "0.4.0"
126126
rand_xorshift = "0.3.0"
127127

128128
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies]
129-
wasm-bindgen-test = "0.3.24"
129+
wasm-bindgen-test = "0.3.39"
130130

131131
[[bench]]
132132
name = "benchmark"

0 commit comments

Comments
 (0)