mozilla / grcov

Rust tool to collect and aggregate code coverage data for multiple source files
Mozilla Public License 2.0
1.15k stars 148 forks source link

Possible to exclude functions matching a pattern for name #1184

Open andrewdavidmackenzie opened 1 month ago

andrewdavidmackenzie commented 1 month ago

I would like to exclude all the rust implementations of Default trait (default() function) from my coverage.

I notice that lcov has a --erase-functions option, and I wondered if there was any way to achieve the same with grcov.

thanks