taiki-e / upload-rust-binary-action

GitHub Action for building and uploading Rust binary to GitHub Releases.
Apache License 2.0
247 stars 22 forks source link

Do not strip debuginfo on Apple targets/illumos/AIX in cross-compilation #80

Closed taiki-e closed 4 months ago

taiki-e commented 4 months ago

See https://github.com/nextest-rs/nextest/commit/d4f982b3184f07ff5c40cc90c52d3fc6567be0b9#commitcomment-140325483 / https://github.com/oxidecomputer/helios/issues/147 for details.

The upstream has not yet been fixed so for now we will work around the problem on our end.

FYI @sunshowers

taiki-e commented 1 month ago

This workaround will probably not work with the released version of cross that ignores cargo related environment variables by default, but it will work in other environments such as setup-cross-toolchain-action.