Unify download-*
settings in config.toml
#83369
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Right now, there are two different download settings:
download-ci-llvm
anddownload-rustc
. They are pretty similar and I imagine the knobs we'll want to tweak will be the same for both (e.g. it seems reasonable to add"if-unchanged"
todownload-ci-llvm
now that download-rustc has it: #83368). Additionally, this could be extended without too much trouble to other tools and components, like rustdoc, clippy, etc. It would be nice to combine these together in to one option (maybedownload-component
). I'd expect the old options to work but give a warning to use the new syntax.Another feature could be to support multiple requirements, or individual components:
download-component = "clippy,llvm"
download-component = "rustc=if-unchanged,llvm=if-available"
download-component = "if-unchanged,if-available"
cc @Mark-Simulacrum, #81930
The text was updated successfully, but these errors were encountered: