about summary refs log tree commit diff
path: root/config.example.toml
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-07-27 11:05:03 +0300
committeronur-ozkan <work@onurozkan.dev>2024-07-27 11:08:29 +0300
commit1140750f6eff7ad09ea675cf48d66418a62bcdd5 (patch)
tree9aee806eeb533bc7976bd6aa8ffc2812783bdd47 /config.example.toml
parenta526d7ce45fd2284e0e7c7556ccba2425b9d25e5 (diff)
downloadrust-1140750f6eff7ad09ea675cf48d66418a62bcdd5.tar.gz
rust-1140750f6eff7ad09ea675cf48d66418a62bcdd5.zip
update `rust.channel` documentation
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.example.toml b/config.example.toml
index 8800c85db32..45faa66ec11 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -578,7 +578,10 @@
 # The "channel" for the Rust build to produce. The stable/beta channels only
 # allow using stable features, whereas the nightly and dev channels allow using
 # nightly features
-#channel = "dev"
+#
+# If using tarball sources, default value for `channel` is taken from the `src/ci/channel` file;
+# otherwise, it's "dev".
+#channel = if "is a tarball source" { content of `src/ci/channel` file } else { "dev" }
 
 # A descriptive string to be appended to `rustc --version` output, which is
 # also used in places like debuginfo `DW_AT_producer`. This may be useful for