]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #48892 - alexcrichton:thinlto-again, r=Mark-Simulacrum
authorkennytm <kennytm@gmail.com>
Thu, 15 Mar 2018 17:49:41 +0000 (01:49 +0800)
committerGitHub <noreply@github.com>
Thu, 15 Mar 2018 17:49:41 +0000 (01:49 +0800)
rustbuild: Remove ThinLTO-related configuration

This commit removes some ThinLTO/codegen unit cruft primarily only needed during
the initial phase where we were adding ThinLTO support to rustc itself. The
current bootstrap compiler knows about ThinLTO and has it enabled by default for
multi-CGU builds which are also enabled by default. One CGU builds (aka
disabling ThinLTO) can be achieved by configuring the number of codegen units to
1 for a particular builds.

This also changes the defaults for our dist builders to go back to multiple
CGUs. Unfortunately we're seriously bleeding for cycle time on the bots right
now so we need to recover any time we can.

1  2 
src/bootstrap/bin/rustc.rs
src/bootstrap/builder.rs
src/bootstrap/config.rs
src/ci/run.sh

Simple merge
Simple merge
Simple merge
diff --cc src/ci/run.sh
Simple merge