X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Finstall.rs;h=f8734ebdf4254213b743dfa125fbc701250addba;hb=72aaa3a414d17aa0c4f19feafa5bab5f84b60e63;hp=384219c38fd0483f821754a19dc9029a5434173b;hpb=45baedb14b94ee26c70439e244b73ab3090a4d13;p=rust.git 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 @@ fn run($sel, $builder: &Builder<'_>) { }; 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); };