You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering a recurring issue in the project where Rust builds fail on linux-stable CI jobs due to an older version of the wasm-bindgen crate being incompatible with the current Rust version. The error message is as follows:
Compiling wasm-bindgen v0.2.74
error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88
error: could not compile `wasm-bindgen` (lib) due to 1 previous error
Error: Compiling your crate to WebAssembly failed
Caused by: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit status: 101
full command: cd \"/home/runner/work/wasm-pack/wasm-pack/target/t/.tmpEj08tZ/wasm-pack\" && \"cargo\" \"build\" \"--lib\" \"--target\" \"wasm32-unknown-unknown\"
I think it can be reproduced locally via cargo build --lib --target wasm32-unknown-unknown but I'm running into issues building for that target.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: latest
rustc version: latest (linux_stable CI job w/ wasm32-unknown-unknown target)
The text was updated successfully, but these errors were encountered:
rnkaufman
changed the title
CI failing due to wasm-bindgen compatibility Issue with linux-stable jobs
CI failing due to wasm-bindgen compatibility issue with linux-stable jobs
Apr 11, 2025
rnkaufman
changed the title
CI failing due to wasm-bindgen compatibility issue with linux-stable jobslinux-stable jobs failing CI due to wasm-bindgen compatibility issue
Apr 11, 2025
Uh oh!
There was an error while loading. Please reload this page.
🐛 Bug description
We are encountering a recurring issue in the project where Rust builds fail on
linux-stable
CI jobs due to an older version of thewasm-bindgen
crate being incompatible with the current Rust version. The error message is as follows:Example failing PRs:
🤔 Expected Behavior
linux-stable
jobs complete successfully with no version compatibility issues withwasm-bindgen
.👟 Steps to reproduce
The failure is present in the
linux-stable
CI builds (example failing action link).I think it can be reproduced locally via
cargo build --lib --target wasm32-unknown-unknown
but I'm running into issues building for that target.🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: latest
rustc version: latest (
linux_stable
CI job w/wasm32-unknown-unknown
target)The text was updated successfully, but these errors were encountered: