Skip to content

Releases: taiki-e/cargo-llvm-cov

0.4.0

12 May 00:39
Compare
Choose a tag to compare
  • cargo-llvm-cov no longer changes the current directory when running cargo. (#161)

  • Exclude build script from report by default. (#163)
    You can use --include-build-script flag to include build script in report.

  • Set cfg(coverage_nightly) when nightly compiler is used. (#164)

  • Support short flags of --release (-r) and --features (-F). (#165)

  • Support custom profiles. (#166)

0.3.3

06 May 22:31
Compare
Choose a tag to compare
  • Fix an issue where codes in the target directory are not being properly excluded from reports when using show-env subcommand. (#156)

0.3.2

05 May 22:39
Compare
Choose a tag to compare
  • Alleviate an issue where "File name or extension is too long" error occurs in Windows. (#155)

0.3.1

01 May 03:55
Compare
Choose a tag to compare
  • Calculate --show-missing-lines based on function regions. (#150, thanks @vmiklos)

0.3.0

08 Apr 10:46
Compare
Choose a tag to compare
  • cargo-llvm-cov now always select the current toolchain. (#148)

    Previously, if -C instrument-coverage is not available in the current toolchain, the nightly toolchain was used. (See release note of 0.2.0 for more information on the previous behavior.)

  • Make --remap-path-prefix optional. (#141)

    Previously this flag was always used, but due to some bugs discovered we decided to disable it by default. If you were dependent on the behavior provided by this flag, you can use the same behavior by passing the --remap-path-prefix flag to cargo-llvm-cov.

  • Stabilize a few unstable options.

0.2.4

18 Mar 15:37
Compare
Choose a tag to compare

0.2.3

05 Mar 10:47
Compare
Choose a tag to compare
  • Add --show-missing-lines option to show uncovered lines in the command-line output. (#143, thanks @vmiklos)

0.2.2

01 Mar 12:47
Compare
Choose a tag to compare
  • Add --fail-under-lines option to set the exit code based on coverage percentage. (#139, thanks @vmiklos)

0.2.1

18 Feb 02:35
Compare
Choose a tag to compare
  • Update clap to 3.1. (#136)

0.2.0

06 Feb 13:50
Compare
Choose a tag to compare
  • Update to stabilized -C instrument-coverage. (#130)

    Support for -Z instrument-coverage in the old nightly will also be kept for compatibility.

    Compatibility Note: In 0.2, if -C instrument-coverage or -Z instrument-coverage is not available in the default toolchain, running cargo llvm-cov will find and use nightly (this is almost the same behavior as 0.1). This behavior is necessary because only the recent nightly currently supports -C instrument-coverage (and also for compatibility with 0.1). This behavior will be changed in 0.3 to always select the default toolchain. If you are likely to be affected by the change in 0.3, cargo-llvm-cov will emit a warning. 0.3 is planned to be released after -C instrument-coverage is available in the stable toolchain.

  • Remove support of multiple values in --package and --exclude. (#133)

    This behavior was unintentionally enabled in the older version of 0.1 and was deprecated in the recent version of 0.1.

  • Add --exclude-from-test option to exclude specific packages from the test but not from the report. (#131)

  • Add --exclude-from-report option to exclude specific packages from the report but not from the test. (#131)

  • Workspace members are now always included in the report unless specified by --exclude or --exclude-from-report. (#131)