From: Rust Maintainers Date: Mon, 18 Dec 2017 18:46:25 +0000 (+0000) Subject: u-cross-compile-install X-Git-Tag: archive/raspbian/1.22.1+dfsg1-1+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eac027224d9db57edaa75c0e7b731bc0b3fb302d;p=rustc.git u-cross-compile-install ---- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Gbp-Pq: Name u-cross-compile-install.patch --- 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, {