Do not lock wasm-bindgen version (#7609)
This commit is contained in:
parent
47a437403f
commit
94f2ed6334
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue