Skip to content

Commit 8306066

Browse files
committed
debugging
Signed-off-by: onur-ozkan <[email protected]>
1 parent 6f7cdd6 commit 8306066

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/bootstrap/src/core/build_steps/compile.rs

+15
Original file line numberDiff line numberDiff line change
@@ -1706,6 +1706,21 @@ impl Step for Assemble {
17061706
if target_compiler.stage == builder.top_stage {
17071707
builder.info(&format!("Creating a sysroot for stage{stage} compiler (use `rustup toolchain link 'name' build/host/stage{stage}`)", stage=target_compiler.stage));
17081708
}
1709+
1710+
for backend in builder.config.codegen_backends(target_compiler.host) {
1711+
if backend == "llvm" {
1712+
continue; // Already built as part of rustc
1713+
}
1714+
1715+
builder.ensure(CodegenBackend {
1716+
compiler: builder.compiler(0, builder.config.build),
1717+
target: target_compiler.host,
1718+
backend: backend.clone(),
1719+
});
1720+
1721+
}
1722+
copy_codegen_backends_to_sysroot(builder, builder.compiler(0, builder.config.build), target_compiler);
1723+
17091724
return target_compiler;
17101725
}
17111726

0 commit comments

Comments
 (0)