diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-22 02:05:32 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-02-23 07:09:46 +0800 |
| commit | 51238c77e676f399a5b47d922e0da6af4837aff5 (patch) | |
| tree | 0d6d974b1293c8e4fa00241bcb34582334d369ea /src/bootstrap | |
| parent | f6e4751ebeaac327db7fe444ed7991f70e8fd929 (diff) | |
CI: Fixed the incorrect folder region when building codegen dylib.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/compile.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 2dcc0e0e7cd..84dd8f099f3 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -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 @@ -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); |
