From: Rust Maintainers Date: Wed, 25 Oct 2017 18:27:30 +0000 (+0100) Subject: u-cross-compile-install X-Git-Tag: archive/raspbian/1.21.0+dfsg1-3+rpi1^2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9d81a250e6d93c0e0e8c6f9538c7e29a21ceaf39;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, {