-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasm-opt fail with [parse exception: invalid code after misc prefix: 17 (at 0:61491)] #1441
Comments
have the same problem |
When wasm-bindgen 0.2.94-95 sees the wasm target-features metadata emitted by rustc 1.82.0, it enables additional webassembly features on its output (bulk memory instructions) that can cause issues with downstream tools like Related discussions: |
Additionally: - temporary disable `wasm-opt` (rustwasm/wasm-pack#1441) Co-authored-by: alexlapa <[email protected]> Co-authored-by: Kai Ren <[email protected]>
🐛 Bug description
Our build was working up to rust 1.81.0.
With Rustc 1.82.0, I am getting an error with wasm-opt.
🤔 Expected Behavior
wasm-opt should work with rustc 1.82.0
👟 Steps to reproduce
🌍 Your environment
Include the relevant details of your environment.
Ubuntu 24.04(it works on MacOs)
wasm-pack version:
wasm-pack -V
wasm-pack 0.13.1
rustc version:
rustc -V
rustc 1.82.0 (f6e511eec 2024-10-15)
The text was updated successfully, but these errors were encountered: