wasm-opt
fails on 1.87 with "Bulk memory operations require bulk memory"
#141080
Labels
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I made a minimal reproduction here:
https://github.com/printfn/repro/tree/rust-wasm-bulk-memory
I expected to see this happen:
It should build with
wasm-pack build
Instead, this happened:
I got an error in
wasm-opt
:unexpected false: Bulk memory operations require bulk memory [--enable-bulk-memory], on
It looks like this happened because of the LLVM 20 update (#135763).
Full build output
Version it worked on
It most recently worked on: 1.86.0
Version with regression
rustc --version --verbose
:searched nightlies: from nightly-2025-02-15 to nightly-2025-03-29
regressed nightly: nightly-2025-02-18
searched commit range: 5bc6231...ce36a96
regressed commit: ce36a96
bisected with cargo-bisect-rustc v0.6.9
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
The text was updated successfully, but these errors were encountered: