Skip to content

Commit

Permalink
rustbuild: Only build 'dist' when building the host
Browse files Browse the repository at this point in the history
Doing this step for the target results in the build system
trying to build rustc for asmjs, which doesn't work.
  • Loading branch information
brson committed Sep 30, 2016
1 parent 096670c commit 834bbab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/step.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 834bbab

Please sign in to comment.