rust/src/ci
bors 871407a034 Auto merge of #115554 - Kobzol:single-cgu, r=Mark-Simulacrum
Build `rustc` with a single CGU on x64 Linux

This PR adds the `rust.codegen-units=1` setting when compiling the 64-bit Linux `rustc` artifact (the one used for try builds and Linux rustup distribution). This had mixed results in the past, however after the bump to LLVM 17, the results now seem pretty [incredible](https://github.com/rust-lang/rust/pull/115554#issuecomment-1706518199). Instruction counts, cycles, wall time, max RSS and even artifact sizes see large improvements.

The last [try build](https://github.com/rust-lang-ci/rust/actions/runs/6077686494/job/16487768049) with this setting took 1h 8m, which is basically the same duration for try builds that we have seen recently. So there shouldn't be any large hit to CI/build time.

I hope that this could potentially also reduce codegen noise of `rustc` a little bit, since small changes within a single `rustc` crate should no longer perturb optimizations because of CGU movement. We still do cross-crate LTO, so it won't eliminate it though.

r? `@Mark-Simulacrum`
2023-10-01 12:49:29 +00:00
..
docker Auto merge of #115554 - Kobzol:single-cgu, r=Mark-Simulacrum 2023-10-01 12:49:29 +00:00
github-actions Add integration for new bors 2023-09-28 10:43:24 +02:00
scripts Fix jq in CI 2023-09-25 14:30:26 +00:00
channel move the current channel to src/ci/channel 2021-05-06 17:11:12 +02:00
cpu-usage-over-time.py Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00
publish_toolstate.sh more toolstate comments 2020-03-04 08:30:26 -08:00
run.sh Allow testing cg_clif using ./x.py test 2023-09-10 15:56:56 +00:00
shared.sh remove azure pipelines configuration 2022-06-05 12:29:20 +02:00