diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-18 10:03:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-18 10:03:23 +0900 |
| commit | d09a568b9498687f2c29a9823520ff7fcdc7910d (patch) | |
| tree | c8018a4bc95af517f90a271652aaff9184febc46 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | fc8027f188141d5d00547ff974f82b441003844d (diff) | |
| parent | d3b15329f9f7c4c8c5b395a0362281255cde68f7 (diff) | |
| download | rust-d09a568b9498687f2c29a9823520ff7fcdc7910d.tar.gz rust-d09a568b9498687f2c29a9823520ff7fcdc7910d.zip | |
Rollup merge of #97828 - ferrocene:pa-config-artifacts, r=jyn514
Allow configuring where artifacts are downloaded from Bootstrap has support for downloading prebuilt LLVM and rustc artifacts to speed up local builds, but that currently works only for users working on `rust-lang/rust`. Forks of the repository (for example Ferrocene) might have different URLs to download artifacts from, or might use a different email address on merge commits, breaking both LLVM and rustc artifact downloads. This PR refactors bootstrap to load the download URLs and other constants from `src/stage0.json`, allowing downstream forks to tweak those values. It also future-proofs the download code to easily allow forks to add their own custom protocols (like `s3://`). This PR is best reviewed commit-by-commit.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
