Skip to content

Commit 23946b7

Browse files
committed
Fix Cargo cross-compilation (take two)
1 parent 18eeac0 commit 23946b7

File tree

1 file changed

+2
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,9 @@ impl Step for Cargo {
857857
fn run(self, builder: &Builder<'_>) -> ToolBuildResult {
858858
builder.build.require_submodule("src/tools/cargo", None);
859859

860+
builder.std(self.build_compiler, builder.host_target);
860861
builder.std(self.build_compiler, self.target);
862+
861863
builder.ensure(ToolBuild {
862864
build_compiler: self.build_compiler,
863865
target: self.target,

0 commit comments

Comments
 (0)