Closed radhermit closed 11 months ago
Support for tarpaulin was dropped in https://github.com/pkgcraft/pkgcraft/commit/6aa958cfc977cf5b0316de6c4126de4760ef34ae mostly due to CI hangs.
It may be possible to re-enable code coverage soon since it looks like -C instrument-coverage
support is trending towards stabilization. Beyond that, grcov support can be enabled by following instructions similar to those outlined at https://marco-c.github.io/2020/11/24/rust-source-based-code-coverage.html.
It's now possible to use llvm-tools instrument-coverage support in stable rust along with llvm-cov and nextest via cargo llvm-cov nextest
. The final step for CI would be to generate some coverage data file that codecov can consume.
Coverage is now done via cargo llvm-cov
in https://github.com/pkgcraft/pkgcraft/commit/29432c25061029d154fb49bc8eb8e696a170c8fb.
Once support for it enters a stable rust release.