WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 9e13889

Browse files
authored
Revert wasm-bindgen to 0.2.100 (#7612)
1 parent 917aaca commit 9e13889

File tree

4 files changed

+28
-30
lines changed

4 files changed

+28
-30
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ jobs:
9292
- name: wasm-bindgen
9393
uses: jetli/[email protected]
9494
with:
95-
# Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
96-
version: "0.2.104"
95+
version: "0.2.100" # Keep wasm-bindgen version in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
9796

9897
- run: ./scripts/wasm_bindgen_check.sh --skip-setup
9998

Cargo.lock

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
888888
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
889889
dependencies = [
890890
"lazy_static",
891-
"windows-sys 0.52.0",
891+
"windows-sys 0.59.0",
892892
]
893893

894894
[[package]]
@@ -1184,7 +1184,7 @@ dependencies = [
11841184
"libc",
11851185
"option-ext",
11861186
"redox_users",
1187-
"windows-sys 0.60.2",
1187+
"windows-sys 0.61.2",
11881188
]
11891189

11901190
[[package]]
@@ -2472,9 +2472,9 @@ checksum = "00810f1d8b74be64b13dbf3db89ac67740615d6c891f0e7b6179326533011a07"
24722472

24732473
[[package]]
24742474
name = "js-sys"
2475-
version = "0.3.81"
2475+
version = "0.3.77"
24762476
source = "registry+https://github.com/rust-lang/crates.io-index"
2477-
checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
2477+
checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
24782478
dependencies = [
24792479
"once_cell",
24802480
"wasm-bindgen",
@@ -4278,7 +4278,7 @@ dependencies = [
42784278
"getrandom 0.3.1",
42794279
"once_cell",
42804280
"rustix 1.0.8",
4281-
"windows-sys 0.60.2",
4281+
"windows-sys 0.61.2",
42824282
]
42834283

42844284
[[package]]
@@ -4767,22 +4767,21 @@ dependencies = [
47674767

47684768
[[package]]
47694769
name = "wasm-bindgen"
4770-
version = "0.2.104"
4770+
version = "0.2.100"
47714771
source = "registry+https://github.com/rust-lang/crates.io-index"
4772-
checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
4772+
checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
47734773
dependencies = [
47744774
"cfg-if",
47754775
"once_cell",
47764776
"rustversion",
47774777
"wasm-bindgen-macro",
4778-
"wasm-bindgen-shared",
47794778
]
47804779

47814780
[[package]]
47824781
name = "wasm-bindgen-backend"
4783-
version = "0.2.104"
4782+
version = "0.2.100"
47844783
source = "registry+https://github.com/rust-lang/crates.io-index"
4785-
checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
4784+
checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
47864785
dependencies = [
47874786
"bumpalo",
47884787
"log",
@@ -4794,9 +4793,9 @@ dependencies = [
47944793

47954794
[[package]]
47964795
name = "wasm-bindgen-futures"
4797-
version = "0.4.54"
4796+
version = "0.4.50"
47984797
source = "registry+https://github.com/rust-lang/crates.io-index"
4799-
checksum = "7e038d41e478cc73bae0ff9b36c60cff1c98b8f38f8d7e8061e79ee63608ac5c"
4798+
checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
48004799
dependencies = [
48014800
"cfg-if",
48024801
"js-sys",
@@ -4807,19 +4806,19 @@ dependencies = [
48074806

48084807
[[package]]
48094808
name = "wasm-bindgen-macro"
4810-
version = "0.2.104"
4809+
version = "0.2.100"
48114810
source = "registry+https://github.com/rust-lang/crates.io-index"
4812-
checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
4811+
checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
48134812
dependencies = [
48144813
"quote",
48154814
"wasm-bindgen-macro-support",
48164815
]
48174816

48184817
[[package]]
48194818
name = "wasm-bindgen-macro-support"
4820-
version = "0.2.104"
4819+
version = "0.2.100"
48214820
source = "registry+https://github.com/rust-lang/crates.io-index"
4822-
checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
4821+
checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
48234822
dependencies = [
48244823
"proc-macro2",
48254824
"quote",
@@ -4830,9 +4829,9 @@ dependencies = [
48304829

48314830
[[package]]
48324831
name = "wasm-bindgen-shared"
4833-
version = "0.2.104"
4832+
version = "0.2.100"
48344833
source = "registry+https://github.com/rust-lang/crates.io-index"
4835-
checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
4834+
checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
48364835
dependencies = [
48374836
"unicode-ident",
48384837
]
@@ -4948,9 +4947,9 @@ dependencies = [
49484947

49494948
[[package]]
49504949
name = "web-sys"
4951-
version = "0.3.81"
4950+
version = "0.3.77"
49524951
source = "registry+https://github.com/rust-lang/crates.io-index"
4953-
checksum = "9367c417a924a74cae129e6a2ae3b47fabb1f8995595ab474029da749a8be120"
4952+
checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
49544953
dependencies = [
49554954
"js-sys",
49564955
"wasm-bindgen",
@@ -5180,7 +5179,7 @@ version = "0.1.9"
51805179
source = "registry+https://github.com/rust-lang/crates.io-index"
51815180
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
51825181
dependencies = [
5183-
"windows-sys 0.52.0",
5182+
"windows-sys 0.59.0",
51845183
]
51855184

51865185
[[package]]

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ glutin = { version = "0.32.3", default-features = false }
9696
glutin-winit = { version = "0.5.0", default-features = false }
9797
home = "0.5.9"
9898
image = { version = "0.25.6", default-features = false }
99-
js-sys = "0.3.81"
99+
js-sys = "0.3.77"
100100
kittest = { version = "0.2.0", git = "https://github.com/rerun-io/kittest.git" }
101101
log = { version = "0.4.28", features = ["std"] }
102102
memoffset = "0.9.1"
@@ -134,10 +134,10 @@ tokio = "1.47.1"
134134
type-map = "0.5.1"
135135
unicode_names2 = { version = "2.0.0", default-features = false }
136136
unicode-segmentation = "1.12.0"
137-
wasm-bindgen = "0.2.104" # Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
138-
wasm-bindgen-futures = "0.4.54"
137+
wasm-bindgen = "0.2.100" # Keep wasm-bindgen version in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
138+
wasm-bindgen-futures = "0.4.0"
139139
wayland-cursor = { version = "0.31.11", default-features = false }
140-
web-sys = "0.3.81"
140+
web-sys = "0.3.77"
141141
web-time = "1.1.0" # Timekeeping for native and web
142142
webbrowser = "1.0.5"
143143
wgpu = { version = "27.0.1", default-features = false, features = ["std"] }

scripts/setup_web.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -x
99
rustup target add wasm32-unknown-unknown
1010

1111
# For generating JS bindings:
12-
# Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
13-
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.104'; then
14-
cargo install --force --quiet wasm-bindgen-cli --version 0.2.104
12+
# Keep wasm-bindgen version in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
13+
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.100'; then
14+
cargo install --force --quiet wasm-bindgen-cli --version 0.2.100
1515
fi

0 commit comments

Comments
 (0)