diff options
| author | Brian Anderson <banderson@mozilla.com> | 2016-09-23 01:25:51 +0000 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-09-30 14:02:56 -0700 |
| commit | 834bbab11b5b9535cbbec8b02149157fff764bf1 (patch) | |
| tree | 50099634ac6dfd99e4f932de0b3885930069a4da /src/bootstrap | |
| parent | 096670ca41a2aada11722acf4d0ab35a422448f6 (diff) | |
| download | rust-834bbab11b5b9535cbbec8b02149157fff764bf1.tar.gz rust-834bbab11b5b9535cbbec8b02149157fff764bf1.zip | |
rustbuild: Only build 'dist' when building the host
Doing this step for the target results in the build system trying to build rustc for asmjs, which doesn't work.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/step.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs index 4b5a26d205a..8a96cd1b4d2 100644 --- a/src/bootstrap/step.rs +++ b/src/bootstrap/step.rs @@ -418,7 +418,6 @@ impl<'a> Step<'a> { self.check_crate_std(compiler), self.check_crate_test(compiler), self.check_debuginfo(compiler), - self.dist(stage), ]; // If we're testing the build triple, then we know we can @@ -463,6 +462,9 @@ impl<'a> Step<'a> { // misc self.check_linkcheck(stage), self.check_tidy(stage), + + // can we make the distributables? + self.dist(stage), ]); } return base |
