From eac027224d9db57edaa75c0e7b731bc0b3fb302d Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Mon, 18 Dec 2017 18:46:25 +0000 Subject: [PATCH] u-cross-compile-install ---- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Gbp-Pq: Name u-cross-compile-install.patch --- src/bootstrap/install.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs index 608924c9c2..cd9b9c37e2 100644 --- a/src/bootstrap/install.rs +++ b/src/bootstrap/install.rs @@ -175,10 +175,12 @@ install!((self, builder, _config), install_docs(builder, self.stage, self.target); }; Std, "src/libstd", true, only_hosts: true, { - builder.ensure(dist::Std { - compiler: builder.compiler(self.stage, self.host), - target: self.target - }); + for target in &builder.build.targets { + builder.ensure(dist::Std { + compiler: builder.compiler(self.stage, self.host), + target: *target + }); + } install_std(builder, self.stage); }; Cargo, "cargo", _config.extended, only_hosts: true, { -- 2.30.2