Skip to main content

measure_rust

Function measure_rust 

Source
pub fn measure_rust(
    root: &Path,
    thresholds: RustThresholds,
    ignore: &[String],
    features: &[String],
) -> Result<Outcome>
Expand description

Run the unit suite under cargo llvm-cov in root and check it against thresholds. ignore is the coverage-rule exemptions as root-relative paths; features the [rust] features list to enable. cargo-llvm-cov must be installed.