cargo-llvm-cov

Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).

APACHE-2.0 License

Downloads
78
Stars
901
Committers
24

Bot releases are visible (Hide)

cargo-llvm-cov - 0.5.12

Published by github-actions[bot] over 1 year ago

  • Add --codecov flag to support "Codecov Custom Coverage" format. This allows using region coverage on Codecov. (#249, thanks @andrewgazelka)
cargo-llvm-cov - 0.5.11

Published by github-actions[bot] over 1 year ago

  • Remove dependency on tempfile.
cargo-llvm-cov - 0.5.10

Published by github-actions[bot] over 1 year ago

  • Update lexopt to 0.3.
  • Update cargo-config2 to 0.1.5.
cargo-llvm-cov - 0.5.9

Published by github-actions[bot] almost 2 years ago

  • Support trybuild 1.0.76+. (#238)
cargo-llvm-cov - 0.5.8

Published by github-actions[bot] almost 2 years ago

  • Fix handling of cases where the target directory contains glob characters.
cargo-llvm-cov - 0.5.7

Published by github-actions[bot] almost 2 years ago

  • Fix "cannot satisfy dependencies so std only shows up once" error on cargo llvm-cov nextest introduced in 0.5.4.
cargo-llvm-cov - 0.5.6

Published by github-actions[bot] almost 2 years ago

  • Distribute prebuilt macOS universal binary.
cargo-llvm-cov - 0.5.5

Published by github-actions[bot] almost 2 years ago

  • Fix regression on doctests introduced in 0.5.4.
cargo-llvm-cov - 0.5.4

Published by github-actions[bot] almost 2 years ago

  • Use cargo-config2 to load Cargo configuration. (https://github.com/taiki-e/cargo-llvm-cov/pull/237)

    This brings the following improvements:

    • More accurate cargo configuration loading and resolution.
    • Fix installation failure on Rust 1.60 and 1.61 by removing dependency on target-spec.
    • Remove run-time dependency on unstable cargo config get. (Previously, this command was used in a form allowing failure, like rust-analyzer does.)
cargo-llvm-cov - 0.5.3

Published by github-actions[bot] almost 2 years ago

  • Fix an issue where coverage of binary targets containing hyphens was not collected correctly. (#232)

  • Fix help messages for cargo llvm-cov report subcommand.

cargo-llvm-cov - 0.5.2

Published by github-actions[bot] almost 2 years ago

  • Fix an issue where if --cobertura and --output-path are used simultaneously, then the saved file doesn't contain the cobertura-style output. (#228, thanks @yuval-nextsilicon)
cargo-llvm-cov - 0.5.1

Published by github-actions[bot] almost 2 years ago

  • Add --cobertura flag to support Cobertura's XML report format. (#224, thanks @mike-kfed)

  • Limit the number of test threads for nextest to work around rust-lang/rust#91092. (#223)

    For subcommands other than cargo llvm-cov nextest, the same workaround has already been applied since 0.4.6.

  • Replace atty with is-terminal. (#226)

cargo-llvm-cov - 0.5.0

Published by github-actions[bot] about 2 years ago

  • Improve handling of cases where llvm-tools-preview component is not installed. (#219)

    TL;DR: You no longer need to manually install llvm-tools-preview before running cargo-llvm-cov in most cases.

    The new logic is based on the logic used by Miri when rust-src component or xargo is not installed.

    See #219 for more.

  • Fix various CLI-related bugs. (#197, #217)

    This fixes various bugs related to subcommands (especially nextest). The following is a partial list:

    • Fix errors for nextest-specific options. (#151, #144, #213, etc.)
    • Fix problems where some options were ignored in cargo llvm-cov run and cargo llvm-cov nextest subcommands. (#151, #144, #198, etc.)
    • Fix help messages for subcommands.
  • Add cargo llvm-cov report subcommand. (#217) This is equivalent to cargo llvm-cov --no-run, but it has a more obvious name and better diagnostics.

  • Add cargo llvm-cov test subcommand. (#217) This is equivalent to cargo llvm-cov without subcommand, except that test name filtering is supported.

  • Deprecate --no-run in favor of cargo llvm-cov report subcommand. (#217)

  • Add --no-clean flag to build without cleaning any old build artifacts. See #214 for more.

  • cargo-llvm-cov no longer redirects output from stdout to stderr if unnecessary. (#206)

  • Support shared target directory. (#215)

  • Support --keep-going (unstable), --ignore-rust-version. (#217)

  • Support --exclude-from-report and --ignore-run-fail for cargo llvm-cov run. (#217)

  • Support relative path in CARGO_LLVM_COV_TARGET_DIR. (#220)

  • Add LLVM_COV_FLAGS/LLVM_PROFDATA_FLAGS environment variables to pass additional flags to llvm-cov/llvm-profdata in a space-separated list. (#220)

  • Deprecate CARGO_LLVM_COV_FLAGS/CARGO_LLVM_PROFDATA_FLAGS environment variables instead of LLVM_COV_FLAGS/LLVM_PROFDATA_FLAGS environment variables. (#220)

  • Document environment variables that cargo-llvm-cov reads. (#220)

  • Remove cargo llvm-cov help subcommand that was added automatically by clap. (#197)

  • cargo-llvm-cov no longer maps the --jobs (-j) option to llvm-cov/llvm-profdata's -num-threads option.

    This is to avoid confusion when using the -j option with nextest, which uses the -j option in a different sense than cargo.

  • Improve compile time. (#197)

  • Diagnostics improvements.

cargo-llvm-cov - 0.4.14

Published by github-actions[bot] about 2 years ago

  • Fix an issue where "File name or extension is too long" error occurs in Windows. (#203, thanks @messense)
cargo-llvm-cov - 0.4.13

Published by github-actions[bot] about 2 years ago

  • Fix an issue where merging of multiple cargo llvm-cov run coverage did not work.
cargo-llvm-cov - 0.4.12

Published by github-actions[bot] about 2 years ago

  • Support target.<cfg>.rustflags. (#200)

  • Remove workaround for an old rustc bug on Windows if unnecessary. (#199, thanks @ldm0)

cargo-llvm-cov - 0.4.11

Published by github-actions[bot] over 2 years ago

  • Fix handling of existing CFLAGS/CXXFLAGS when --include-ffi flag is passed. (#196)
cargo-llvm-cov - 0.4.10

Published by github-actions[bot] over 2 years ago

  • Support coverage of C/C++ code linked to Rust library/binary. (#194)
cargo-llvm-cov - 0.4.9

Published by github-actions[bot] over 2 years ago

  • Fix an issue where some files were incorrectly ignored in reports. (#191)
cargo-llvm-cov - 0.4.8

Published by github-actions[bot] over 2 years ago

  • Correctly escape regular expressions passed to -ignore-filename-regex. (#188, thanks @rhysd)
Package Rankings
Top 7.57% on Crates.io
Top 46.94% on Formulae.brew.sh
Badges
Extracted from project README
crates.io license github actions