提交 834bbab1 编写于 作者: B Brian Anderson

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.
上级 096670ca
......@@ -418,7 +418,6 @@ pub fn deps(&self, build: &'a Build) -> Vec<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 @@ pub fn deps(&self, build: &'a Build) -> Vec<Step<'a>> {
// misc
self.check_linkcheck(stage),
self.check_tidy(stage),
// can we make the distributables?
self.dist(stage),
]);
}
return base
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册