]> git.lizzy.rs Git - rust.git/commit
rustbuild: Enable bootstrapping new hosts
authorAlex Crichton <alex@alexcrichton.com>
Wed, 24 Feb 2016 07:00:48 +0000 (23:00 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 28 Feb 2016 18:50:13 +0000 (10:50 -0800)
commit90d28ec372185f94529fd6c72cc17c9cf1e9f137
treefad689dedceea6e6d4191b3d35e2159c1ec531cf
parent095f5e7c81ae2894bdad8b614297b281b67fd2fc
rustbuild: Enable bootstrapping new hosts

This commit fixes a longstanding issue with the makefiles where all host
platforms bootstrap themselves. This commit alters the build logic for the
bootstrap to instead only bootstrap the build triple, and all other compilers
are compiled from that one compiler.

The benefit of this change is that we can cross-compile compilers which cannot
run on the build platform. For example our builders could start creating
`arm-unknown-linux-gnueabihf` compilers.

This reduces the amount of bootstrapping we do, reducing the amount of test
coverage, but overall it should largely just end in faster build times for
multi-host compiles as well as enabling a feature which can't be done today.

cc #5258
src/bootstrap/build/step.rs