rustbuild: Relax assertions about stage0
This allows bootstrapping new platforms immediately in stage0
This commit is contained in:
parent
506522ff4b
commit
93a9ab1a1b
2 changed files with 1 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue