Skip to content

Commit 25d1480

Browse files
committed
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.
1 parent 5b3a8c5 commit 25d1480

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

Lines changed: 1 addition & 1 deletion
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)