cargo-llvm-cov
Installation
SKILL.md
cargo-llvm-cov - Code Coverage with LLVM
cargo-llvm-cov provides accurate code coverage for Rust using LLVM's instrumentation-based coverage. It supports multiple output formats and integrates seamlessly with CI platforms.
When to Use This Skill
| Use this skill when... | Use sibling skill instead when... |
|---|---|
| Measuring line / branch coverage with LLVM instrumentation | Just running tests fast in parallel -- use cargo-nextest |
| Generating HTML / lcov / codecov reports | Auditing unused dependencies -- use cargo-machete |
| Enforcing coverage thresholds in CI | Configuring lint rules -- use clippy-advanced |
| Wiring codecov.io or coveralls upload | Writing the tests themselves -- use rust-development |
Installation
# Install cargo-llvm-cov
cargo install cargo-llvm-cov