]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #61212 - alexcrichton:skip-rustc, r=pietroalbini
authorbors <bors@rust-lang.org>
Thu, 30 May 2019 00:38:51 +0000 (00:38 +0000)
committerbors <bors@rust-lang.org>
Thu, 30 May 2019 00:38:51 +0000 (00:38 +0000)
commit19e0ddbb9f29c27f907fd0d23b70fbd53aeb6efb
tree21030ef19b0b4b91121ec32b1cff1408d7f7b291
parent413790186c65e782e2c0183e933686f7bf35e158
parent7b362bb84178b9c87b2b9246b7d3d107820e932a
Auto merge of #61212 - alexcrichton:skip-rustc, r=pietroalbini

ci: Attempt to skip a full rustc compile on dist*

Currently when we're preparing cross-compiled compilers it can take
quite some time because we have to build the compiler itself three
different times. The first is the normal bootstrap, the second is a
second build for the build platform, and the third is the actual target
architecture compiler. The second compiler was historically built
exclusively for procedural macros, and long ago we didn't actually need
it.

This commit tries out avoiding that second compiled compiler, meaning we
only compile rustc for the build platform only once. Some local testing
shows that this is promising, but bors is of course the ultimate test!
src/bootstrap/builder.rs
src/bootstrap/compile.rs
src/bootstrap/doc.rs
src/bootstrap/test.rs
src/bootstrap/tool.rs