]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/install.rs
rustc: Allow cdylibs to link against dylibs
[rust.git] / src / bootstrap / install.rs
index 384219c38fd0483f821754a19dc9029a5434173b..f8734ebdf4254213b743dfa125fbc701250addba 100644 (file)
@@ -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);
     };