Skip to content

Commit 358e79f

Browse files
committed
Auto merge of #10254 - joshtriplett:rmeta-required-no-timings, r=alexcrichton
Make rmeta_required no longer depend on whether timing is enabled This doesn't appear to affect the quality of the timing information at all. If there's additional information we need from rustc about what it's doing at any given time, we could add mechanisms to retrieve that information, but enabling timing shouldn't force building more than we otherwise would have.
2 parents 5084072 + 25d1480 commit 358e79f

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/core/compiler/context

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/context/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> {
604604
/// Returns whether when `unit` is built whether it should emit metadata as
605605
/// well because some compilations rely on that.
606606
pub fn rmeta_required(&self, unit: &Unit) -> bool {
607-
self.rmeta_required.contains(unit) || self.bcx.config.cli_unstable().timings.is_some()
607+
self.rmeta_required.contains(unit)
608608
}
609609

610610
pub fn new_jobserver(&mut self) -> CargoResult<Client> {

0 commit comments

Comments
 (0)