Skip to content

Commit 51238c7

Browse files
committed
CI: Fixed the incorrect folder region when building codegen dylib.
1 parent f6e4751 commit 51238c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/compile.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,8 @@ impl Step for CodegenBackend {
630630
.arg(build.src.join("src/librustc_trans/Cargo.toml"));
631631
rustc_cargo_env(build, &mut cargo);
632632

633+
let _folder = build.fold_output(|| format!("stage{}-rustc_trans", compiler.stage));
634+
633635
match &*self.backend {
634636
"llvm" | "emscripten" => {
635637
// Build LLVM for our target. This will implicitly build the
@@ -643,7 +645,6 @@ impl Step for CodegenBackend {
643645
features.push_str(" emscripten");
644646
}
645647

646-
let _folder = build.fold_output(|| format!("stage{}-rustc_trans", compiler.stage));
647648
println!("Building stage{} codegen artifacts ({} -> {}, {})",
648649
compiler.stage, &compiler.host, target, self.backend);
649650

0 commit comments

Comments
 (0)