Skip to content

Commit 4a00cf8

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

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-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

0 commit comments

Comments
 (0)