diff --git a/src/cargo/core/compiler/context/mod.rs b/src/cargo/core/compiler/context/mod.rs index 7591c7d3d2d..6a81eb4aea2 100644 --- a/src/cargo/core/compiler/context/mod.rs +++ b/src/cargo/core/compiler/context/mod.rs @@ -604,7 +604,7 @@ impl<'a, 'cfg> Context<'a, 'cfg> { /// Returns whether when `unit` is built whether it should emit metadata as /// well because some compilations rely on that. pub fn rmeta_required(&self, unit: &Unit) -> bool { - self.rmeta_required.contains(unit) || self.bcx.config.cli_unstable().timings.is_some() + self.rmeta_required.contains(unit) } pub fn new_jobserver(&mut self) -> CargoResult {