Skip to content

Commit 364dbd6

Browse files
authored
Rollup merge of #143577 - Noratrieb:Noratrieb-patch-4, r=Kobzol
Disable download-rustc for library profile The feature currently completely breaks `x test` (#142505), core functionality of working on the standard library. Therefore it should be disabled by default until that problem is fixed. Having to wait a bit longer for a check build is nothing compared to completely mysterious build errors when testing.
2 parents 0938cb7 + 979d7b2 commit 364dbd6

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/bootstrap/defaults/bootstrap.library.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ lto = "off"
1212
#
1313
# If compiler-affecting directories are not modified, use precompiled rustc to speed up
1414
# library development by skipping compiler builds.
15-
download-rustc = "if-unchanged"
15+
# FIXME: download-rustc is currently broken: https://github.com/rust-lang/rust/issues/142505
16+
download-rustc = false
1617

1718
[llvm]
1819
# Will download LLVM from CI if available on your platform.

src/bootstrap/src/utils/change_tracker.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,4 +456,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
456456
severity: ChangeSeverity::Warning,
457457
summary: "The default check stage has been changed to 1. It is no longer possible to `x check` with stage 0. All check commands have to be on stage 1+. Bootstrap tools can now also only be checked for the host target.",
458458
},
459+
ChangeInfo {
460+
change_id: 143577,
461+
severity: ChangeSeverity::Warning,
462+
summary: "`download-rustc` has been temporarily disabled for the library profile due to implementation bugs (see #142505).",
463+
},
459464
];

0 commit comments

Comments
 (0)