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
A workaround is to manually cargo install wasm-bindgen-cli (possibly with --locked added if necessary). The failing cargo install only happens if the binary is not found in path.
The exact command that worked for me was:
cargo install wasm-bindgen-cli@0.2.93 --locked
It needs to be the correct version, otherwise a cargo install will be attempted (without lock and hence failing).
Uh oh!
There was an error while loading. Please reload this page.
🐛 Bug description
wasm-pack fails in a project that uses Rust 1.80 (set through
rust-toolchain.toml
) due to wasm-bindgen-cli installation failing:🤔 Expected Behavior
wasm-pack can be used with rust <=1.80 without error.
The code in question might be here, maybe a
--locked
should be added?wasm-pack/src/command/build.rs
Lines 423 to 430 in 32e52ca
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.13.1
rustc version: 1.80.0
The text was updated successfully, but these errors were encountered: