@@ -63,18 +63,18 @@ index 2e16f2cf27..3ac3df99a8 100644
6363 # Note that RUSTFLAGS_BOOTSTRAP should always be added to the end of
6464 # RUSTFLAGS, since that causes RUSTFLAGS_BOOTSTRAP to override RUSTFLAGS.
6565diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
66- index a656927b1f6..44fc5546fac 100644
66+ index bc68bfe396..00143ef3ed 100644
6767--- a/src/bootstrap/src/core/config/config.rs
6868+++ b/src/bootstrap/src/core/config/config.rs
69- @@ -2249,7 +2249,7 @@ pub fn parse_download_ci_llvm<'a>(
70- }
69+ @@ -2230,7 +2230,7 @@ pub fn download_ci_rustc_commit<'a>(
70+ return None;
71+ }
7172
72- #[cfg(not(test))]
73- - if b && dwn_ctx.is_running_on_ci && CiEnv::is_rust_lang_managed_ci_job() {
74- + if false && dwn_ctx.is_running_on_ci && CiEnv::is_rust_lang_managed_ci_job() {
75- // On rust-lang CI, we must always rebuild LLVM if there were any modifications to it
76- panic!(
77- "\` llvm.download-ci-llvm\` cannot be set to \` true\` on CI. Use \` if-unchanged\` instead."
73+ - if dwn_ctx.is_running_on_ci() {
74+ + if false && dwn_ctx.is_running_on_ci() {
75+ eprintln!("CI rustc commit matches with HEAD and we are in CI.");
76+ eprintln!(
77+ "\` rustc.download-ci\` functionality will be skipped as artifacts are not available."
7878diff --git a/src/build_helper/src/git.rs b/src/build_helper/src/git.rs
7979index 330fb465de..a4593ed96f 100644
8080--- a/src/build_helper/src/git.rs
0 commit comments