Skip to content

Commit

Permalink
CI: Fixed the incorrect folder region when building codegen dylib.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Feb 22, 2018
1 parent f6e4751 commit 51238c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/compile.rs
Expand Up @@ -630,6 +630,8 @@ impl Step for CodegenBackend {
.arg(build.src.join("src/librustc_trans/Cargo.toml"));
rustc_cargo_env(build, &mut cargo);

let _folder = build.fold_output(|| format!("stage{}-rustc_trans", compiler.stage));

match &*self.backend {
"llvm" | "emscripten" => {
// Build LLVM for our target. This will implicitly build the
Expand All @@ -643,7 +645,6 @@ impl Step for CodegenBackend {
features.push_str(" emscripten");
}

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

Expand Down

0 comments on commit 51238c7

Please sign in to comment.