Function minicov::merge_coverage

source ·
pub unsafe fn merge_coverage(
    data: &[u8]
) -> Result<(), IncompatibleCoverageData>
Expand description

Merges previously dumped coverage data into the coverage counters.

This should be called prior to dumping if coverage data from a previous run already exists and should be merged with instead of overwritten.

Safety

This function is not thread-safe and should not be concurrently called from multiple threads.