about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-06-18 10:03:23 +0900
committerGitHub <noreply@github.com>2022-06-18 10:03:23 +0900
commitd09a568b9498687f2c29a9823520ff7fcdc7910d (patch)
treec8018a4bc95af517f90a271652aaff9184febc46 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentfc8027f188141d5d00547ff974f82b441003844d (diff)
parentd3b15329f9f7c4c8c5b395a0362281255cde68f7 (diff)
downloadrust-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