about summary refs log tree commit diff
path: root/src/bootstrap/defaults/config.compiler.toml
diff options
context:
space:
mode:
authorJieyou Xu <jieyouxu@outlook.com>2024-11-23 23:26:56 +0800
committerJieyou Xu <jieyouxu@outlook.com>2024-11-23 23:47:03 +0800
commitaafd56b87ac45454dd387f632af2eec48b004819 (patch)
treefb230ca1184433bd58a088feb13917bc0aea1fa6 /src/bootstrap/defaults/config.compiler.toml
parent5d3c6ee9b34989595d2a72b79e61ca37e949d757 (diff)
downloadrust-aafd56b87ac45454dd387f632af2eec48b004819.tar.gz
rust-aafd56b87ac45454dd387f632af2eec48b004819.zip
bootstrap: revert `rust.download-rustc` global default to `false`
And only default library and tools profile to `rust.download-rustc =
"if-unchanged"`.
Diffstat (limited to 'src/bootstrap/defaults/config.compiler.toml')
-rw-r--r--src/bootstrap/defaults/config.compiler.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.compiler.toml b/src/bootstrap/defaults/config.compiler.toml
index 57a0ca5a718..a737de3bd08 100644
--- a/src/bootstrap/defaults/config.compiler.toml
+++ b/src/bootstrap/defaults/config.compiler.toml
@@ -19,6 +19,9 @@ lto = "off"
 # Forces frame pointers to be used with `-Cforce-frame-pointers`.
 # This can be helpful for profiling at a small performance cost.
 frame-pointers = true
+# Compiler contributors often want to build rustc even without any changes to
+# e.g. check that it builds locally and check the baseline behavior of a
+# compiler built from latest `master` commit.
 download-rustc = false
 
 [llvm]