Skip to content

Commit

Permalink
chore: Bump wasm-bindgen to 0.2.99, wasm-bindgen-futures to 0.4.49, j…
Browse files Browse the repository at this point in the history
…s-sys and web-sys to 0.3.76
  • Loading branch information
torokati44 committed Dec 23, 2024
1 parent 0a368a0 commit 77f043b
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ jobs:
# Be sure to update in test_web.yml, Cargo.toml, web/docker/Dockerfile,
# and web/README.md as well.
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.97
run: cargo install wasm-bindgen-cli --version 0.2.99

# Keep the version number in sync in all workflows,
# and in the extension builder Dockerfile!
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_extension_dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.97
run: cargo install wasm-bindgen-cli --version 0.2.99

# Keep the version number in sync in all workflows,
# and in the extension builder Dockerfile!
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# Be sure to update in release_nightly.yml, Cargo.toml, web/docker/Dockerfile,
# and web/README.md as well.
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.97
run: cargo install wasm-bindgen-cli --version 0.2.99

# Keep the version number in sync in all workflows,
# and in the extension builder Dockerfile!
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
# Be sure to update in release_nightly.yml, Cargo.toml, web/docker/Dockerfile,
# and web/README.md as well.
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.97
run: cargo install wasm-bindgen-cli --version 0.2.99

# No real need to install wasm-opt here

Expand Down
47 changes: 23 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ enum-map = "2.7.3"
flate2 = "1.0.35"
futures = "0.3.31"
image = { version = "0.25.5", default-features = false }
js-sys = "0.3.74"
web-sys = "0.3.74"
js-sys = "0.3.76"
web-sys = "0.3.76"
log = "0.4"
num-derive = "0.4.2"
num-traits = "0.2.19"
serde = "1.0.215"
thiserror = "2.0.6"
url = "2.5.2"
# Make sure to match wasm-bindgen-cli version to this everywhere.
wasm-bindgen = "=0.2.97"
wasm-bindgen = "=0.2.99"
walkdir = "2.5.0"
tokio = "1.42.0"
# Switching from the `async-std` to the `tokio` runtime, which we depend on anyway.
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ tracy-client = { version = "0.17.6", optional = true, default-features = false }
workspace = true

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.47"
version = "0.4.49"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ruffle_render_wgpu = { path = "../render/wgpu", optional = true }
ruffle_video_software = { path = "../video/software" }
url = { workspace = true }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = "0.4.47"
wasm-bindgen-futures = "0.4.49"
serde-wasm-bindgen = "0.6.5"
chrono = { workspace = true, features = ["wasmbind", "clock"] }
getrandom = { version = "0.2", features = ["js"] }
Expand Down
2 changes: 1 addition & 1 deletion web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Note that npm 7 or newer is required. It should come bundled with Node.js 15 or

<!-- Be sure to also update the wasm-bindgen-cli version in `.github/workflows/*.yml` and `web/Cargo.toml`. -->

This can be installed with `cargo install wasm-bindgen-cli --version 0.2.97`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.
This can be installed with `cargo install wasm-bindgen-cli --version 0.2.99`. Be sure to install this specific version of `wasm-bindgen-cli` to match the version used by Ruffle.

#### Binaryen

Expand Down
2 changes: 1 addition & 1 deletion web/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN wget 'https://sh.rustup.rs' --quiet -O- | sh -s -- -y --profile minimal --ta
ENV PATH="/root/.cargo/bin:$PATH"
# wasm-bindgen-cli version must match wasm-bindgen crate version.
# Be sure to update in test_web.yml, release_nightly.yml, Cargo.toml, and web/README.md as well.
RUN cargo install wasm-bindgen-cli --version 0.2.97
RUN cargo install wasm-bindgen-cli --version 0.2.99

# Building Ruffle:
COPY . ruffle
Expand Down

0 comments on commit 77f043b

Please sign in to comment.