about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Koloski <dkoloski@google.com>2023-08-22 15:29:10 +0000
committerDavid Koloski <dkoloski@google.com>2023-08-22 15:33:10 +0000
commit6aef5b331ffcb6816fb8900f5e2d87948e7cff84 (patch)
tree924bb11656a18689f795744b3165405b638b1b6a
parentd8c69dfb37241a2b750a2acbbab48d1201d00766 (diff)
downloadrust-6aef5b331ffcb6816fb8900f5e2d87948e7cff84.tar.gz
rust-6aef5b331ffcb6816fb8900f5e2d87948e7cff84.zip
Disable bootstrap rustc version check
Mitigates #115065
-rw-r--r--src/bootstrap/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index 4821d20a898..762e66ac7cc 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -1276,7 +1276,8 @@ impl Config {
         }
 
         config.initial_rustc = if let Some(rustc) = build.rustc {
-            config.check_build_rustc_version(&rustc);
+            // FIXME(#115065): re-enable this check
+            // config.check_build_rustc_version(&rustc);
             PathBuf::from(rustc)
         } else {
             config.download_beta_toolchain();