Created
March 16, 2016 00:16
-
-
Save alexcrichton/6e26ea5897790d733466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/bootstrap/build/step.rs b/src/bootstrap/build/step.rs | |
index a29524a..4376ed3 100644 | |
--- a/src/bootstrap/build/step.rs | |
+++ b/src/bootstrap/build/step.rs | |
@@ -312,16 +312,19 @@ impl<'a> Step<'a> { | |
Source::Dist { stage } => { | |
let mut base = Vec::new(); | |
- base.push(self.dist_docs(stage)); | |
- base.push(self.dist_rustc(stage)); | |
- | |
- if self.target.contains("windows-gnu") { | |
- base.push(self.dist_mingw(())); | |
- } | |
- | |
- let compiler = self.compiler(stage); | |
- for target in build.config.target.iter() { | |
- base.push(self.target(target).dist_std(compiler)); | |
+ for host in build.config.host.iter() { | |
+ let me = self.target(host); | |
+ base.push(me.dist_docs(stage)); | |
+ base.push(me.dist_rustc(stage)); | |
+ | |
+ if me.target.contains("windows-gnu") { | |
+ base.push(me.dist_mingw(())); | |
+ } | |
+ | |
+ let compiler = self.compiler(stage); | |
+ for target in build.config.target.iter() { | |
+ base.push(self.target(target).dist_std(compiler)); | |
+ } | |
} | |
return base | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment