Skip to content

Commit a8c6ba9

Browse files
committed
rustbuild: only build cargo for host
Signed-off-by: Marc-Antoine Perennou <[email protected]>
1 parent 7b1fb89 commit a8c6ba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/step.rs

+1
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
575575
.dep(|s| s.name("libstd-tool"))
576576
.run(move |s| compile::tool(build, s.stage, s.target, "qemu-test-client"));
577577
rules.build("tool-cargo", "cargo")
578+
.host(true)
578579
.default(build.config.extended)
579580
.dep(|s| s.name("maybe-clean-tools"))
580581
.dep(|s| s.name("libstd-tool"))

0 commit comments

Comments
 (0)