about summary refs log tree commit diff
path: root/config.example.toml
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-12 06:26:20 +0000
committerbors <bors@rust-lang.org>2024-05-12 06:26:20 +0000
commit645bc609d994b6556c9aebbdd810f1d75c3e2206 (patch)
treea5db14e2a933e9ef244ce61ed7fbeb3c74b34ddc /config.example.toml
parent8cc6f34653505e13159d62ad9de4c7b7a43b9e39 (diff)
parent8c5375ad8e9e53334df1bdec10244589dfca109e (diff)
downloadrust-645bc609d994b6556c9aebbdd810f1d75c3e2206.tar.gz
rust-645bc609d994b6556c9aebbdd810f1d75c3e2206.zip
Auto merge of #124883 - onur-ozkan:change-stage0-file, r=Mark-Simulacrum
use key-value format in stage0 file

Currently, we are working on the python removal task on bootstrap. Which means we have to extract some data from the stage0 file using shell scripts. However, parsing values from the stage0.json file is painful because shell scripts don't have a built-in way to parse json files.

This change simplifies the stage0 file format to key-value pairs, which makes it easily readable from any environment.

See the zulip thread for more details: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/Using.20different.20format.20in.20the.20stage0.20file
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.example.toml b/config.example.toml
index 3b76952504f..224d079b206 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -213,17 +213,17 @@
 # the root of the repository.
 #build-dir = "build"
 
-# Instead of downloading the src/stage0.json version of Cargo specified, use
+# Instead of downloading the src/stage0 version of Cargo specified, use
 # this Cargo binary instead to build all Rust code
 # If you set this, you likely want to set `rustc` as well.
 #cargo = "/path/to/cargo"
 
-# Instead of downloading the src/stage0.json version of the compiler
+# Instead of downloading the src/stage0 version of the compiler
 # specified, use this rustc binary instead as the stage0 snapshot compiler.
 # If you set this, you likely want to set `cargo` as well.
 #rustc = "/path/to/rustc"
 
-# Instead of downloading the src/stage0.json version of rustfmt specified,
+# Instead of downloading the src/stage0 version of rustfmt specified,
 # use this rustfmt binary instead as the stage0 snapshot rustfmt.
 #rustfmt = "/path/to/rustfmt"