We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The prebuilt wasm-opt version_90 segfaults when optimizing my crate with -enable-mutable-globals. When I manually use version_97, it works
-enable-mutable-globals
I think it will also help fix #886
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
wasm-pack build --release
wasm-pack version: 0.9.1 rustc version: rustc 1.43.0 (4fb7144ed 2020-04-20)
The text was updated successfully, but these errors were encountered:
For the record, I had the same issue, reported it in binaryen:
WebAssembly/binaryen#3513
Sorry, something went wrong.
No branches or pull requests
🐛 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
run
wasm-pack build --release
🌍 Your environment
wasm-pack version: 0.9.1
rustc version: rustc 1.43.0 (4fb7144ed 2020-04-20)
The text was updated successfully, but these errors were encountered: