Skip to content

Commit a9dca3b

Browse files
committed
rustbuild: fix cross-compile install
although, not sure why this works - it wasn't needed before
1 parent 96ad8e5 commit a9dca3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/install.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ install!((self, builder, _config),
260260
};
261261
Rustc, "src/librustc", true, only_hosts: true, {
262262
builder.ensure(dist::Rustc {
263-
compiler: self.compiler,
263+
compiler: builder.compiler(builder.top_stage, self.target),
264264
});
265265
install_rustc(builder, self.compiler.stage, self.target);
266266
};

0 commit comments

Comments
 (0)