Skip to content

Commit

Permalink
Update wasm-bindgen to 0.2.86 (#2995)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored May 17, 2023
1 parent ea71b7f commit 856afc8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ jobs:
- name: wasm-bindgen
uses: jetli/wasm-bindgen-action@v0.1.0
with:
version: "0.2.84"
version: "0.2.86"

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

Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ winapi = "0.3.9"
bytemuck = "1.7"
js-sys = "0.3"
percent-encoding = "2.1"
wasm-bindgen = "=0.2.84"
wasm-bindgen = "0.2.86"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3.58", features = [
"BinaryType",
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_demo_app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ env_logger = "0.10"

# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "=0.2.84"
wasm-bindgen = "=0.2.86"
wasm-bindgen-futures = "0.4"
web-sys = "0.3"
5 changes: 1 addition & 4 deletions scripts/setup_web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ cd "$script_path/.."
rustup target add wasm32-unknown-unknown

# For generating JS bindings:
# cargo install wasm-bindgen-cli --version 0.2.84
# We use a patched version containing this critical fix: https://github.com/rustwasm/wasm-bindgen/pull/3310
# See https://github.com/rerun-io/wasm-bindgen/commits/0.2.84-patch
cargo install wasm-bindgen-cli --git https://github.com/rerun-io/wasm-bindgen.git --rev 13283975ddf48c2d90758095e235b28d381c5762
cargo install wasm-bindgen-cli --version 0.2.86

0 comments on commit 856afc8

Please sign in to comment.