diff options
| author | Ximin Luo <infinity0@pwned.gg> | 2019-11-28 10:11:48 +0000 |
|---|---|---|
| committer | Ximin Luo <infinity0@pwned.gg> | 2019-12-01 00:53:25 +0000 |
| commit | a9dca3b243022a320b53543a975ff4774986ba5f (patch) | |
| tree | 70e425d0ab4660ca4c9fe859627e8dfa29e74e11 | |
| parent | 96ad8e5fbcf00afc1ccde386b031919b4d01aa33 (diff) | |
| download | rust-a9dca3b243022a320b53543a975ff4774986ba5f.tar.gz rust-a9dca3b243022a320b53543a975ff4774986ba5f.zip | |
rustbuild: fix cross-compile install
although, not sure why this works - it wasn't needed before
| -rw-r--r-- | src/bootstrap/install.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/install.rs b/src/bootstrap/install.rs index 384219c38fd..f8734ebdf42 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); }; |
