Skip to content

Commit

Permalink
rustbuild: Relax assertions about stage0
Browse files Browse the repository at this point in the history
This allows bootstrapping new platforms immediately in stage0
  • Loading branch information
alexcrichton committed Feb 28, 2016
1 parent 506522f commit 93a9ab1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/bootstrap/build/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/bootstrap/build/step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ impl<'a> Step<'a> {
pub fn deps(&self, build: &'a Build) -> Vec<Step<'a>> {
match self.src {
Source::Rustc { stage: 0 } => {
assert!(self.target == build.config.build);
Vec::new()
}
Source::Rustc { stage } => {
Expand Down

0 comments on commit 93a9ab1

Please sign in to comment.