diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-03-12 12:30:33 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-03-13 11:14:09 +1100 |
| commit | 1f544ce305bc207c9d0539938219caf01ea230c9 (patch) | |
| tree | 3b8daa7fa9e38a3f2dd7bda4200d60e03968024a /compiler/rustc_monomorphize/src/partitioning.rs | |
| parent | 4a0cc881dcc4d800f10672747f61a94377ff6662 (diff) | |
| download | rust-1f544ce305bc207c9d0539938219caf01ea230c9.tar.gz rust-1f544ce305bc207c9d0539938219caf01ea230c9.zip | |
coverage: Remove all unstable values of `-Cinstrument-coverage`
Diffstat (limited to 'compiler/rustc_monomorphize/src/partitioning.rs')
| -rw-r--r-- | compiler/rustc_monomorphize/src/partitioning.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs index 8bebc30e435..296eb3120ee 100644 --- a/compiler/rustc_monomorphize/src/partitioning.rs +++ b/compiler/rustc_monomorphize/src/partitioning.rs @@ -175,9 +175,7 @@ where } // Mark one CGU for dead code, if necessary. - let instrument_dead_code = - tcx.sess.instrument_coverage() && !tcx.sess.instrument_coverage_except_unused_functions(); - if instrument_dead_code { + if tcx.sess.instrument_coverage() { mark_code_coverage_dead_code_cgu(&mut codegen_units); } |
