From 81ed042c8cc4a1bd677c9209cf9edca6b91af04a Mon Sep 17 00:00:00 2001 From: Zalathar Date: Wed, 6 Aug 2025 22:02:01 +1000 Subject: coverage: Remove all unstable support for MC/DC instrumentation --- compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs') diff --git a/compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs b/compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs index 907d6d41a1f..bc4f6bb6a82 100644 --- a/compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs +++ b/compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs @@ -63,13 +63,7 @@ pub(crate) fn write_function_mappings_to_buffer( expressions: &[ffi::CounterExpression], regions: &ffi::Regions, ) -> Vec { - let ffi::Regions { - code_regions, - expansion_regions, - branch_regions, - mcdc_branch_regions, - mcdc_decision_regions, - } = regions; + let ffi::Regions { code_regions, expansion_regions, branch_regions } = regions; // SAFETY: // - All types are FFI-compatible and have matching representations in Rust/C++. @@ -87,10 +81,6 @@ pub(crate) fn write_function_mappings_to_buffer( expansion_regions.len(), branch_regions.as_ptr(), branch_regions.len(), - mcdc_branch_regions.as_ptr(), - mcdc_branch_regions.len(), - mcdc_decision_regions.as_ptr(), - mcdc_decision_regions.len(), buffer, ) }) -- cgit 1.4.1-3-g733a5