diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-01-22 00:31:17 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-02-08 23:15:36 -0500 |
| commit | 645784521950c51260abf68c7be8d24552430338 (patch) | |
| tree | 926908572b07a610f0391bd6a184844f2e5c1a98 /compiler/rustc_codegen_llvm/src | |
| parent | 9a1d6174c925f54c923599e29b09d6855e6b3a78 (diff) | |
| download | rust-645784521950c51260abf68c7be8d24552430338.tar.gz rust-645784521950c51260abf68c7be8d24552430338.zip | |
Absolute bare minimum for downloading rustc from CI
- Use the same compiler for stage0 and stage1. This should be fixed at some point (so bootstrap isn't constantly rebuilt). - Make sure `x.py build` and `x.py check` work. - Use `git merge-base` to determine the most recent commit to download. - Copy stage0 to the various sysroots in `Sysroot`, and delegate to Sysroot in Assemble. Leave all other code unchanged. - Rename date -> key This can also be a commit hash, so 'date' is no longer a good name. - Add the commented-out option to config.toml.example - Disable all steps by default when `download-rustc` is enabled Most steps don't make sense when downloading a compiler, because they'll be pre-built in the sysroot. Only enable the ones that might be useful, in particular Rustdoc and all `check` steps. At some point, this should probably enable other tools, but rustdoc is enough to test out `download-rustc`. - Don't print 'Skipping' twice in a row Bootstrap forcibly enables a dry run if it isn't already set, so previously it would print the message twice: ``` Skipping bootstrap::compile::Std because it is not enabled for `download-rustc` Skipping bootstrap::compile::Std because it is not enabled for `download-rustc` ``` Now it correctly only prints once. ## Future work - Add FIXME about supporting beta commits - Debug logging will never work. This should be fixed.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
