Skip to content

Commit 8d1403c

Browse files
committed
Change the default value of gcc.download-ci-gcc to true
1 parent 5e33838 commit 8d1403c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

src/bootstrap/defaults/bootstrap.dist.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ compiletest-use-stage0-libtest = false
1414
[llvm]
1515
download-ci-llvm = false
1616

17+
# Most users installing from source want to build all parts of the project from source.
18+
[gcc]
19+
download-ci-gcc = false
20+
1721
[rust]
1822
# We have several defaults in bootstrap that depend on whether the channel is `dev` (e.g. `omit-git-hash` and `download-ci-llvm`).
1923
# Make sure they don't get set when installing from source.

src/bootstrap/src/core/config/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ impl std::str::FromStr for RustcLto {
422422
#[derive(Default, Clone)]
423423
pub enum GccCiMode {
424424
/// Build GCC from the local `src/gcc` submodule.
425-
#[default]
426425
BuildLocally,
427426
/// Try to download GCC from CI.
428427
/// If it is not available on CI, it will be built locally instead.
428+
#[default]
429429
DownloadFromCi,
430430
}
431431

src/bootstrap/src/utils/change_tracker.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,4 +541,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
541541
severity: ChangeSeverity::Info,
542542
summary: "Added a new option `rust.break-on-ice` to control if internal compiler errors cause a debug break on Windows.",
543543
},
544+
ChangeInfo {
545+
change_id: 146435,
546+
severity: ChangeSeverity::Info,
547+
summary: "The default value of the `gcc.download-ci-gcc` option has been changed to `true`.",
548+
},
544549
];

0 commit comments

Comments
 (0)