about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-04-29 23:35:01 +0000
committerbors <bors@rust-lang.org>2019-04-29 23:35:01 +0000
commit03122e1bac482b150844ef9664b1ad2438b43072 (patch)
treec7f838dded7a98da02b01b5e585592fff9a08b28 /src/librustc_codegen_llvm
parent00859e3e653973120006aaf3227823062dde1ba7 (diff)
parent7bcb0cffb61d5e1e4fbe08a51d92883556daed04 (diff)
downloadrust-03122e1bac482b150844ef9664b1ad2438b43072.tar.gz
rust-03122e1bac482b150844ef9664b1ad2438b43072.zip
Auto merge of #60006 - nnethercote:json-for-pipelining, r=alexcrichton
In JSON output, emit a directive after metadata is generated.

To implement pipelining, Cargo needs to know when metadata generation is
finished. This is done via a new JSON "directive".

Unfortunately, metadata file writing currently occurs very late during
compilation, so pipelining won't produce a speed-up. Moving metadata
file writing earlier will be a follow-up.

r? @alexcrichton
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/lib.rs b/src/librustc_codegen_llvm/lib.rs
index cee0d5be647..08424e7c322 100644
--- a/src/librustc_codegen_llvm/lib.rs
+++ b/src/librustc_codegen_llvm/lib.rs
@@ -300,7 +300,7 @@ impl CodegenBackend for LlvmCodegenBackend {
         sess: &Session,
         dep_graph: &DepGraph,
         outputs: &OutputFilenames,
-    ) -> Result<(), ErrorReported>{
+    ) -> Result<(), ErrorReported> {
         use rustc::util::common::time;
         let (codegen_results, work_products) =
             ongoing_codegen.downcast::