From: Debian Rust Maintainers Date: Sun, 5 Jan 2020 13:35:46 +0000 (+0000) Subject: u-fix-cross-compile-install-again X-Git-Tag: archive/raspbian/1.40.0+dfsg1-5+rpi1^2~32 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c858a4be1632c6fd1ac3682960c1411c91f9f7f0;p=rustc.git u-fix-cross-compile-install-again Gbp-Pq: Name u-fix-cross-compile-install-again.patch --- diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs index 384219c38f..f8734ebdf4 100644 --- a/src/bootstrap/install.rs +++ b/src/bootstrap/install.rs @@ -260,7 +260,7 @@ install!((self, builder, _config), }; Rustc, "src/librustc", true, only_hosts: true, { builder.ensure(dist::Rustc { - compiler: self.compiler, + compiler: builder.compiler(builder.top_stage, self.target), }); install_rustc(builder, self.compiler.stage, self.target); };