]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/sanity.rs
Rollup merge of #88782 - asquared31415:issue-79559, r=cjgillot
[rust.git] / src / bootstrap / sanity.rs
index 74e50c606107fec6be26387e99acd6f5356d931a..d7db2cef24f2be27323779d047afcd1a99e9617c 100644 (file)
@@ -15,7 +15,7 @@
 use std::path::PathBuf;
 use std::process::Command;
 
-use build_helper::{output, t};
+use build_helper::output;
 
 use crate::cache::INTERNER;
 use crate::config::Target;
@@ -227,14 +227,4 @@ pub fn check(build: &mut Build) {
     if let Some(ref s) = build.config.ccache {
         cmd_finder.must_have(s);
     }
-
-    if build.config.channel == "stable" {
-        let stage0 = t!(fs::read_to_string(build.src.join("src/stage0.txt")));
-        if stage0.contains("\ndev:") {
-            panic!(
-                "bootstrapping from a dev compiler in a stable release, but \
-                    should only be bootstrapping from a released compiler!"
-            );
-        }
-    }
 }