summaryrefslogtreecommitdiffstats
path: root/src/tools/opt-dist/README.md
blob: 05a75870da140d225dd6468ee473083c08187317 (plain)
1
2
3
4
5
6
7
# Optimized build pipeline
This binary implements a heavily optimized build pipeline for `rustc` and `LLVM` artifacts that are used for both for
benchmarking using the perf. bot and for final distribution to users.

It uses LTO, PGO and BOLT to optimize the compiler and LLVM as much as possible.
This logic is not part of bootstrap, because it needs to invoke bootstrap multiple times, force-rebuild various
artifacts repeatedly and sometimes go around bootstrap's cache mechanism.