Rollup merge of #143577 - Noratrieb:Noratrieb-patch-4, r=Kobzol

Disable download-rustc for library profile

The feature currently completely breaks `x test` (rust-lang/rust#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.
This commit is contained in:
许杰友 Jieyou Xu (Joe)
2025-07-07 19:45:44 +08:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ lto = "off"
#
# If compiler-affecting directories are not modified, use precompiled rustc to speed up
# library development by skipping compiler builds.
download-rustc = "if-unchanged"
# FIXME: download-rustc is currently broken: https://github.com/rust-lang/rust/issues/142505
download-rustc = false
[llvm]
# Will download LLVM from CI if available on your platform.

View File

@@ -456,4 +456,9 @@ pub const CONFIG_CHANGE_HISTORY: &[ChangeInfo] = &[
severity: ChangeSeverity::Warning,
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.",
},
ChangeInfo {
change_id: 143577,
severity: ChangeSeverity::Warning,
summary: "`download-rustc` has been temporarily disabled for the library profile due to implementation bugs (see #142505).",
},
];