rust/src/tools/opt-dist
Zalathar 85e0d42a77 Don't enable anyhow's backtrace feature in opt-dist
As of the stabilization of `std::backtrace` in Rust 1.65, this package flag has
no effect other than to enable an unused dependency on the `backtrace` crate.
2025-01-06 13:08:49 +11:00
..
src opt-dist: propagate channel info to bootstrap 2024-12-20 02:32:28 +08:00
Cargo.toml Don't enable anyhow's backtrace feature in opt-dist 2025-01-06 13:08:49 +11:00
README.md Port PGO/LTO/BOLT optimized build pipeline to Rust 2023-07-09 08:39:50 +02:00

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.