Skip to main content

measure_patch_rust_detail

Function measure_patch_rust_detail 

Source
pub fn measure_patch_rust_detail(
    root: &Path,
    ignore: &[String],
    features: &[String],
) -> Result<BTreeMap<String, RustPatchCoverage>>
Expand description

Run the Rust unit suite under cargo llvm-cov and return the per-file region detail, keyed by the absolute path llvm-cov reports. ignore is the coverage-rule exemptions, dropped so an exempt file’s changed lines are lifted.