Do not lock wasm-bindgen version (#7609)

This commit is contained in:
Emil Ernerfeldt 2025-10-08 17:09:04 +02:00 committed by GitHub
parent 47a437403f
commit 94f2ed6334
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -92,6 +92,7 @@ jobs:
- name: wasm-bindgen
uses: jetli/wasm-bindgen-action@v0.1.0
with:
# Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
version: "0.2.104"
- run: ./scripts/wasm_bindgen_check.sh --skip-setup

View File

@ -134,7 +134,7 @@ tokio = "1.47.1"
type-map = "0.5.1"
unicode_names2 = { version = "2.0.0", default-features = false }
unicode-segmentation = "1.12.0"
wasm-bindgen = "=0.2.104"
wasm-bindgen = "0.2.104" # Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
wasm-bindgen-futures = "0.4.54"
wayland-cursor = { version = "0.31.11", default-features = false }
web-sys = "0.3.81"

View File

@ -9,6 +9,7 @@ set -x
rustup target add wasm32-unknown-unknown
# For generating JS bindings:
# Keep wasm-bindgen in sync in: setup_web.sh, Cargo.toml, Cargo.lock, rust.yml
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.104'; then
cargo install --force --quiet wasm-bindgen-cli --version 0.2.104
fi