about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authormoxian <moxian@users.noreply.github.com>2025-03-05 17:43:24 -0800
committermoxian <moxian@users.noreply.github.com>2025-03-05 17:43:24 -0800
commit1be80d48fa0f3fdea8dec7f05426dd619dfdf411 (patch)
tree2b6f36c9bf17454a53147bc03eff824c6d438a75 /src
parent30f168ef811aec63124eac677e14699baa9395bd (diff)
downloadrust-1be80d48fa0f3fdea8dec7f05426dd619dfdf411.tar.gz
rust-1be80d48fa0f3fdea8dec7f05426dd619dfdf411.zip
Leave a breadcrumb towards bootstrap config documentation
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/core/build_steps/setup.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bootstrap/src/core/build_steps/setup.rs b/src/bootstrap/src/core/build_steps/setup.rs
index f25dfaab0f1..ae6544227a6 100644
--- a/src/bootstrap/src/core/build_steps/setup.rs
+++ b/src/bootstrap/src/core/build_steps/setup.rs
@@ -216,8 +216,9 @@ fn setup_config_toml(path: &Path, profile: Profile, config: &Config) {
 
     let latest_change_id = CONFIG_CHANGE_HISTORY.last().unwrap().change_id;
     let settings = format!(
-        "# Includes one of the default files in {PROFILE_DIR}\n\
-    profile = \"{profile}\"\n\
+        "# See bootstrap.example.toml for documentation of available options\n\
+    #\n\
+    profile = \"{profile}\"  # Includes one of the default files in {PROFILE_DIR}\n\
     change-id = {latest_change_id}\n"
     );