diff --git a/src/bootstrap/build/mod.rs b/src/bootstrap/build/mod.rs index 761a7cb4c48b8..ee4d7337dc1be 100644 --- a/src/bootstrap/build/mod.rs +++ b/src/bootstrap/build/mod.rs @@ -155,8 +155,7 @@ impl Build { &compiler, host); } Rustc { stage: 0 } => { - assert!(target.target == self.config.build, - "only have one stage0 compiler"); + // nothing to do... } Rustc { stage } => { compile::assemble_rustc(self, stage, target.target); diff --git a/src/bootstrap/build/step.rs b/src/bootstrap/build/step.rs index 49d418580a0b4..21c3c514698c6 100644 --- a/src/bootstrap/build/step.rs +++ b/src/bootstrap/build/step.rs @@ -194,7 +194,6 @@ impl<'a> Step<'a> { pub fn deps(&self, build: &'a Build) -> Vec> { match self.src { Source::Rustc { stage: 0 } => { - assert!(self.target == build.config.build); Vec::new() } Source::Rustc { stage } => {