Skip to content

wasm-opt Tool version should be bumped #919

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

Closed
michelhe opened this issue Sep 29, 2020 · 1 comment
Closed

wasm-opt Tool version should be bumped #919

michelhe opened this issue Sep 29, 2020 · 1 comment
Labels
bug Something isn't working wasm-opt

Comments

@michelhe
Copy link

michelhe commented Sep 29, 2020

🐛 Bug description

The prebuilt wasm-opt version_90 segfaults when optimizing my crate with -enable-mutable-globals.
When I manually use version_97, it works

I think it will also help fix #886

🤔 Expected Behavior

👟 Steps to reproduce

I didn't try to test any other project, but It specifically segfaults in mine: https://github.com/michelhe/rustboyadvance-ng/tree/master/platform/rustboyadvance-wasm
add to Cargo.toml

[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Oz", "--enable-mutable-globals"]

run wasm-pack build --release

🌍 Your environment

wasm-pack version: 0.9.1
rustc version: rustc 1.43.0 (4fb7144ed 2020-04-20)

@panstromek
Copy link

For the record, I had the same issue, reported it in binaryen:

WebAssembly/binaryen#3513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wasm-opt
Projects
None yet
Development

No branches or pull requests

4 participants