rust/src/ci
Matthias Krüger 3b0249b1c9
Rollup merge of #90733 - wesleywiser:musl_debuginfo, r=Mark-Simulacrum
Build musl dist artifacts with debuginfo enabled

Since our musl targets link to a version of musl we build and bundle
with the targets, if users need to debug into musl or generate
backtraces which contain parts of the musl library, they will be unable
to do so unless we enable and ship the debug info.

This patch changes our dist builds so they enabled debug info when
building musl. This patch also includes a fix for CFI detection in
musl's `configure` script which has been [posted upstream](https://www.openwall.com/lists/musl/2021/10/21/2).

The net effect of this is that we now ship debug info for musl in those
targets. This adds ~90kb to those artifacts but running `strip` on
binaries produced removes all of that. For a "hello world" Rust binary
on x86_64, the numbers are:

|                        | debug | release | release + strip |
|           -            |   -   |    -    |        -        |
| without musl debuginfo | 507kb |  495kb  |      410kb      |
| with musl debuginfo    | 595kb | 584kb | 410kb |

Once stripped, the final binaries are the same size (down to the byte).

Fixes #90103

r? `@Mark-Simulacrum`
2021-11-16 23:58:21 +01:00
..
azure-pipelines ci: stop running macOS builds on Azure Pipelines 2020-10-02 16:15:05 +02:00
docker Rollup merge of #90733 - wesleywiser:musl_debuginfo, r=Mark-Simulacrum 2021-11-16 23:58:21 +01:00
github-actions Change paths for dist command to match the components they generate 2021-11-13 07:28:37 -06:00
scripts Selecting the Xcode version no longer needed with the macos-11 runners. 2021-10-14 06:10:07 +02:00
channel move the current channel to src/ci/channel 2021-05-06 17:11:12 +02:00
cpu-usage-over-time.py migrate cpu-usage-over-time.py to python 3 2021-07-06 16:34:51 +02:00
init_repo.sh Fix CI to fetch master on beta channel 2021-06-20 16:20:08 -04:00
pgo.sh Move LLVM profiling to a separate phase of compilation 2021-10-14 15:21:14 -04:00
publish_toolstate.sh more toolstate comments 2020-03-04 08:30:26 -08:00
run.sh Use a different server for checking clock drift 2021-11-15 13:35:06 -05:00
shared.sh Use HTTPS links where possible 2021-06-23 16:26:46 -04:00