diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-02-10 00:33:17 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-04-04 15:46:02 -0400 |
| commit | 14406df189150a1a79298dd82007c6fd6186fafc (patch) | |
| tree | 1137965bf1f38267617b05b6d51102f2c10b520f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 35385770ae1ea86a911cc44ac43f856831e44b26 (diff) | |
| download | rust-14406df189150a1a79298dd82007c6fd6186fafc.tar.gz rust-14406df189150a1a79298dd82007c6fd6186fafc.zip | |
Use the beta compiler for building bootstrap tools when `download-rustc` is set
## Motivation This avoids having to rebuild bootstrap and tidy each time you rebase over master. In particular, it makes rebasing and running `x.py fmt` on each commit in a branch significantly faster. It also avoids having to rebuild bootstrap after setting `download-rustc = true`. ## Implementation Instead of extracting the CI artifacts directly to `stage0/`, extract them to `ci-rustc/` instead. Continue to copy them to the proper sysroots as necessary for all stages except stage 0. This also requires `bootstrap.py` to download both stage0 and CI artifacts and distinguish between the two when checking stamp files. Note that since tools have to be built by the same compiler that built `rustc-dev` and the standard library, the downloaded artifacts can't be reused when building with the beta compiler. To make sure this is still a good user experience, warn when building with the beta compiler, and default to building with stage 2.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
