diff options
| author | bors <bors@rust-lang.org> | 2019-05-07 02:58:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-05-07 02:58:40 +0000 |
| commit | b8fa4cb31dcb2c3ed2c61f80ca6d0b3ede3ac4b4 (patch) | |
| tree | 3808d1c7a929294cc849168d178874350bddd252 /src/librustc_codegen_ssa | |
| parent | eeedd3a6e15d43d0cd3e860f36be737cb2c941ca (diff) | |
| parent | c89a13179ea1d8431868508d79d57ab3c6ce0ac7 (diff) | |
| download | rust-b8fa4cb31dcb2c3ed2c61f80ca6d0b3ede3ac4b4.tar.gz rust-b8fa4cb31dcb2c3ed2c61f80ca6d0b3ede3ac4b4.zip | |
Auto merge of #60464 - eddyb:not-overly-specific-pipelining, r=alexcrichton
rustc: rename -Z emit-directives to -Z emit-artifact-notifications and simplify the output. This is my take on #60006 / #60419 (see https://github.com/rust-lang/rust/pull/60006#discussion_r275983732). I'm not too attached the "notifications" part, it's pretty much bikeshed material. **EDIT**: for "artifact", @matklad pointed out Cargo already uses it (in https://github.com/rust-lang/rust/pull/60464#issuecomment-488576998) The first two commits are fixes that could be landed independently, especially the `compiletest` one, which removes the need for any of the normalization added in #60006 to land the test. The last commit enables the emission for all outputs, which was my main suggestion for #60006, mostly to show that it's minimal and not really a "scope creep" (as suggested in https://github.com/rust-lang/rust/pull/60006#discussion_r279964081). cc @alexcrichton @nnethercote
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/back/link.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_codegen_ssa/back/link.rs b/src/librustc_codegen_ssa/back/link.rs index d530af559af..d5a56f6a09e 100644 --- a/src/librustc_codegen_ssa/back/link.rs +++ b/src/librustc_codegen_ssa/back/link.rs @@ -95,6 +95,9 @@ pub fn link_binary<'a, B: ArchiveBuilder<'a>>(sess: &'a Session, ); } } + if sess.opts.debugging_opts.emit_artifact_notifications { + sess.parse_sess.span_diagnostic.emit_artifact_notification(&out_filename); + } } if sess.opts.cg.save_temps { |
