diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs index c5898c1119a..ceece7988ad 100644 --- a/src/bootstrap/step.rs +++ b/src/bootstrap/step.rs @@ -843,7 +843,7 @@ invalid rule dependency graph detected, was a rule added and maybe typo'd? let arr = if rule.host { if self.build.flags.target.len() > 0 && self.build.flags.host.len() == 0 { - &hosts[..0] + &[] } else { hosts }