1
Fork 0

rustbuild: fix cross-compile install

although, not sure why this works - it wasn't needed before
This commit is contained in:
Ximin Luo 2019-11-28 10:11:48 +00:00
parent 96ad8e5fbc
commit a9dca3b243

View file

@ -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);
};