cargo-llvm-cov
brew install cargo-llvm-cov
v0.8.7
Apache-2.0 OR MIT
Cargo subcommand to easily use LLVM source-based code coverage
112
30-day installs · #3320
316
90-day · #3454
1.1k
365-day · #3686
1.4k
★ GitHub stars · updated 2mo ago
Build dependencies
GitHub topics
cargo
cli
coverage
rust
Links
- https://github.com/taiki-e/cargo-llvm-cov
- GitHub: taiki-e/cargo-llvm-cov
- Brew formula source: Formula/c/cargo-llvm-cov.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Cargo subcommand to easily use LLVM source-based code coverage",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:09+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cargo-llvm-cov",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-03T16:33:44Z",
"github_readme_excerpt": "# cargo-llvm-cov\n\n[](https://crates.io/crates/cargo-llvm-cov)\n[](#license)\n[](https://github.com/taiki-e/cargo-llvm-cov/actions)\n\nCargo subcommand to easily use LLVM source-based code coverage.\n\nThis is a wrapper around rustc [`-C instrument-coverage`][instrument-coverage] and provides:\n\n- Generate very precise coverage data. (line, region, and branch coverage. branch coverage is currently optional and requires nightly, see [#8] for more)\n- Support `cargo test`, `cargo run`, and [`cargo nextest`][nextest] with command-line interface compatible with cargo.\n- Support for proc-macro, including coverage of UI tests ([trybuild](https://github.com/dtolnay/trybuild), [ui_test](https://github.com/oli-obk/ui_test)).\n- Support for doc tests. (this is currently optional and requires nightly, see [#2] for more)\n- Fast because it only instrument necessary crates and does not introduce extra layers between rustc, cargo, and llvm-tools.\n\n**Table of Contents:**\n\n- [Usage](#usage)\n - [Basic usage](#basic-usage)\n - [Merge coverages generated under different test conditions](#merge-coverages-generated-under-different-test-conditions)\n - [Get coverage of C/C++ code linked to Rust library/binary](#get-coverage-of-cc-code-linked-to-rust-librarybinary)\n - [Get coverage of external tests](#get-coverage-of-external-tests)\n - [Get coverage of AFL fuzzers](#get-coverage-of-afl-fuzzers)\n - [Exclude file from coverage](#exclude-file-from-coverage)\n - [Exclude code from coverage](#exclude-code-from-coverage)\n - [Platform Support](#platform-support)\n - [Windows](#windows)\n - [WASM](#wasm)\n - [Continuous Integration](#continuous-integration)\n - [GitHub Actions and",
"github_repo": "taiki-e/cargo-llvm-cov",
"github_stars": 1405,
"github_topics": [
"cargo",
"cli",
"coverage",
"rust"
],
"homepage": "https://github.com/taiki-e/cargo-llvm-cov",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 112,
"installs_365d": 1094,
"installs_90d": 316,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0 OR MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cargo-llvm-cov",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 3320,
"rank_365d": 3686,
"rank_90d": 3454,
"raw_hash": "16e0e94c39caeacf",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cargo-llvm-cov.rb",
"tap": "homebrew/core",
"test_dependencies": [
"rustup"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.8.7",
"versioned_formulae": [],
"why_use_this": null
}