]> git.lizzy.rs Git - rust.git/commit
rustbuild: Don't build target compilers in stage0
authorAlex Crichton <alex@alexcrichton.com>
Thu, 5 Jan 2017 19:16:48 +0000 (11:16 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 5 Jan 2017 19:17:57 +0000 (11:17 -0800)
commitbe5e322f040b2b8e29173fc054a3b40f75ab311a
treeef254526120f3462d10c6b1171fb3b338b9ae6fd
parent74e5b7d96af721b98474f6d4982b5eb594cd022c
rustbuild: Don't build target compilers in stage0

The `doc-book` and `doc-nomicon` steps accidentally depended on a rustbook
compiled by a cross-compiled compiler, which isn't necessary. Be sure to set the
`host` on these dependency edges to the build compiler to ensure that we're
always using a tool compiled for the host platform.

This was discovered trawling the build logs for the new dist bots and
discovering that they're building one too many compilers in stage0.
src/bootstrap/step.rs