Skip to content

Commit cb3e455

Browse files
committed
coverage: Temporarily deactivate -Cinstrument-coverage=branch
1 parent dcc368e commit cb3e455

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compiler/rustc_session/src/session.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ impl Session {
356356
}
357357

358358
pub fn instrument_coverage_branch(&self) -> bool {
359+
// Temporarily deactivate `-Cinstrument-coverage=branch`.
360+
if true {
361+
return false;
362+
}
359363
self.opts.cg.instrument_coverage() == InstrumentCoverage::Branch
360364
}
361365

0 commit comments

Comments
 (0)