about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/partitioning.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-11 21:40:34 +0000
committerbors <bors@rust-lang.org>2024-03-11 21:40:34 +0000
commit4a0cc881dcc4d800f10672747f61a94377ff6662 (patch)
tree70e469a52b3e28ac46a4442c73748b1810f49622 /compiler/rustc_monomorphize/src/partitioning.rs
parent4ccbb7dc95596c7fc0c5756fdc47a17a56c085d3 (diff)
parent7d6969bb28d280454a8fa7fe42e2f19f4d8f6e29 (diff)
downloadrust-4a0cc881dcc4d800f10672747f61a94377ff6662.tar.gz
rust-4a0cc881dcc4d800f10672747f61a94377ff6662.zip
Auto merge of #112267 - lqd:win-1cgu, r=Kobzol
Build `rustc` with 1CGU on `x86_64-pc-windows-msvc`

Distribute `x86_64-pc-windows-msvc` artifacts built with `rust.codegen-units=1`, like we already do on Linux.

1) effect on code size on `x86_64-pc-windows-msvc`: it's a 3.67% reduction on `rustc_driver.dll`
- before, [`41d97c8a5dea2731b0e56fe97cd7cb79e21cff79`](https://ci-artifacts.rust-lang.org/rustc-builds/41d97c8a5dea2731b0e56fe97cd7cb79e21cff79/rustc-nightly-x86_64-pc-windows-msvc.tar.xz): 137605632
- after, [`704aaa875e4acccc973cbe4579e66afbac425691`](https://ci-artifacts.rust-lang.org/rustc-builds/704aaa875e4acccc973cbe4579e66afbac425691/rustc-nightly-x86_64-pc-windows-msvc.tar.xz): 132551680

2) time it took on CI
- the [first `try` build](https://github.com/rust-lang-ci/rust/actions/runs/8155647651/job/22291592507) took: 1h 31m
- the [second `try` build](https://github.com/rust-lang-ci/rust/actions/runs/8157043594/job/22295790552) took: 1h 32m

3) most recent perf results:
- on a slightly noisy desktop [here](https://github.com/rust-lang/rust/pull/112267#issuecomment-1575758155)
- ChrisDenton's results [here](https://github.com/rust-lang/rust/pull/112267#issuecomment-1583295338)

Related tracking issue for build configuration: #103595
Diffstat (limited to 'compiler/rustc_monomorphize/src/partitioning.rs')
0 files changed, 0 insertions, 0 deletions