relates to #625
The installed wasm-opt with wasm-pack on the current master isn't working an exits with signal 6:

wasm-opt should run, optimize the wasm file, and not error/stop building the package with wasm-pack
cargo run build [path to your rust wasm module]Include the relevant details of your environment.
wasm-pack version: current master
rustc version: 1.34.1
cc @alexcrichton :smile:
What OS are you running on? (e.g. Ubuntu/Debian/etc)
Additionally can you upload the wasm file which causes this segfault?
@alexcrichton
What OS are you running on? (e.g. Ubuntu/Debian/etc)
Oops totally forgot that :joy:

pop_OS! is a derivative of Ubuntu :smile:
Additionally can you upload the wasm file which causes this segfault?
So here is the terminal output:

So from that, I assume I need to get the pkg/wasmboypluginhqx_bg.wasm. Which you can download here.
Let me know if that helps! :smile:
Ok using the release_78 binaries locally myself I can get -O3 to segfault when running over that wasm file. Additionally using the latest release_87 it segfaults. I've opened https://github.com/WebAssembly/binaryen/issues/2273 as an upstream issue.
@alexcrichton Awesome! Thank you very much! 馃槃 Stoked I can help!
Now that version_89 is released, would it make sense to attempt updating the wasm-opt installer version?
EDIT: That version doesn't seem to solve the problem for me, unfortunately.
@anp i know this is a super late message but did you happen to try version 90? want to release wasmpack1.9.0 soon and do not want to break all linux users
i'm going to close this because i do believe that today's release will fix it. if it does not- please open a new issue!
Most helpful comment
Now that version_89 is released, would it make sense to attempt updating the wasm-opt installer version?
EDIT: That version doesn't seem to solve the problem for me, unfortunately.