-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Description
🐛 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 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\"
Example failing PRs:
🤔 Expected Behavior
linux-stable
jobs complete successfully with no version compatibility issues with wasm-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)
defuridayo
Metadata
Metadata
Assignees
Labels
No labels