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.
This commit is contained in:
parent
096670ca41
commit
834bbab11b
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue