Skip to content

Commit 1140750

Browse files
committed
update rust.channel documentation
Signed-off-by: onur-ozkan <[email protected]>
1 parent a526d7c commit 1140750

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config.example.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,10 @@
578578
# The "channel" for the Rust build to produce. The stable/beta channels only
579579
# allow using stable features, whereas the nightly and dev channels allow using
580580
# nightly features
581-
#channel = "dev"
581+
#
582+
# If using tarball sources, default value for `channel` is taken from the `src/ci/channel` file;
583+
# otherwise, it's "dev".
584+
#channel = if "is a tarball source" { content of `src/ci/channel` file } else { "dev" }
582585

583586
# A descriptive string to be appended to `rustc --version` output, which is
584587
# also used in places like debuginfo `DW_AT_producer`. This may be useful for

0 commit comments

Comments
 (0)