Skip to content

wasm-opt exits with signal 6 #782

Closed
@xldenis

Description

@xldenis

Related: #696

🐛 Bug description

Running wasm-pack build in in a Github action after running the installer fails

Error: failed to execute `wasm-opt`: exited with signal: 6
  full command: "/home/runner/.cache/.wasm-pack/wasm-opt-37dc6b0d9960f622/wasm-opt" "/home/runner/work/crdocs/crdocs/frontend/pkg/crdocs_bg.wasm" "-o" "/home/runner/work/crdocs/crdocs/frontend/pkg/crdocs_bg.wasm-opt.wasm" "-O"
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.

To see a failed build: https://github.com/xldenis/crdocs/runs/421370544?check_suite_focus=true

🤔 Expected Behavior

wasm-opt should run successfully.

👟 Steps to reproduce

Rerunning CI on that specific commit should cause a failure reliably.

🌍 Your environment

Include the relevant details of your environment.
wasm-pack version: 0.9.0

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions