]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #83368 - jyn514:download-if-unchanged, r=Mark-Simulacrum
authorDylan DPC <dylan.dpc@gmail.com>
Mon, 5 Apr 2021 13:48:40 +0000 (15:48 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Apr 2021 13:48:40 +0000 (15:48 +0200)
commit335a3c4b7f5b64f7c0e3c86db8fa7989fb6a4771
tree89abb6c5bd5be7c48a871e20ceac6bba879d12fd
parent39eee173fbcc21462d255b364b87715cd33b62db
parent580a740bdd35706e487abd5beb76bd28f2be4012
Rollup merge of #83368 - jyn514:download-if-unchanged, r=Mark-Simulacrum

Add `download-rustc = "if-unchanged"`

This allows keeping the setting to a fixed value without having to
toggle it when you want to work on the compiler instead of on tools.

This sets `BOOTSTRAP_DOWNLOAD_RUSTC` in bootstrap.py so rustbuild doesn't have to try and replicate its logic.

Helps with https://github.com/rust-lang/rust/issues/81930.

r? `@Mark-Simulacrum` cc `@camelid`
config.toml.example
src/bootstrap/bootstrap.py
src/bootstrap/config.rs