-
Notifications
You must be signed in to change notification settings - Fork 447
Open
Description
🐛 Bug description
I'm getting wasm-opt
errors in Rust 1.87.
Here's a minimal reproduction: https://github.com/printfn/repro/tree/rust-wasm-bulk-memory
I believe this issue is caused by the LLVM 20 upgrade in rustc.
I've found that adding additional wasm-opt
flags --enable-nontrapping-float-to-int
and --enable-bulk-memory
seems to fix the issue. Perhaps these just need to be enabled by default?
🤔 Expected Behavior
It should have built.
👟 Steps to reproduce
- Clone the repo
wasm-pack build
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.13.1
rustc version: 1.87.0
sunng87, sethfowler-datadog, darioAnongba, mirsella, falsetru and 3 more
Metadata
Metadata
Assignees
Labels
No labels