Skip to content

Releases: taiki-e/cargo-llvm-cov

0.8.4

06 Feb 19:59
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Update minimal version of cargo-config2 to 0.1.40 to fix error with custom targets in recent nightly.

0.8.3

05 Feb 16:32
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • cargo llvm-cov show-env improvements:

    • Add --csh for csh and tcsh.
    • Add --nu for nushell.
    • Add --xonsh for xonsh.
  • Diagnostics improvements.

0.8.2

27 Jan 11:47
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.8.1

26 Jan 17:16
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Back "cargo-llvm-cov subcommands other than report and clean may not work correctly ..." error to warning.

    This was changed from a warning to an error in 0.7.0, but it has been reverted because a case where it previously worked without issues was reported.

0.8.0

26 Jan 15:49
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Support glob pattern, versioned name with partial version or <name>@<version> syntax, and package spec in --package. Previously, only package name and versioned package name with <name>:<full_version> are supported. (#476)

    This also fixes regression introduced in 0.7.0 where causing packages specified with --package are wrongly excluded from report/test when package is specified with the above syntaxes.

  • Support glob pattern, versioned name, and package spec in --exclude. When we tested it previously, Cargo did not support this, but the current version of Cargo does support it. (#476)

  • Align the exclusion behavior in reports when cargo-llvm-cov is performed in a sub-crate directory of a workspace or in the root crate of a non-virtual workspace without using --workspace or --package, to match the behavior when --workspace or --package is used (by default, only show the tested crates). (#476)

    Compatibility Note: When --workspace or --package is not used, this will exclude other untested workspace members from the report that were previously implicitly included.

    If you want to test other workspace members, consider using --workspace or --package. If you don't want to test other workspace members but still want to include them in the report, consider using --workspace or --exclude-from-test.

0.7.1

24 Jan 11:56
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Fix regression introduced in 0.7.0 where causing coverage test failure in nextest's CI. (6e30e6f)

0.7.0

24 Jan 09:40
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Improve compilation time, execution time, and disk usage by applying the flags required for code coverage instrumentation only to the crates that actually need them. (#471)

    Previously, there flags ware applied to the entire dependency graph, but most of it was actually unnecessary. Previous behavior can be opted into with --no-rustc-wrapper.

  • Fix a bug where --package option is not correctly handled and other unspecified workspace members are shown in the report. (#473)

  • Support coverage for proc-macro and build script even with cross-compilation. (#471)

    Previously, it was only supported when testing against the host target.

  • Stabilize --dep-coverage. (#471)

    Several bugs have been fixed, and improvements such as supporting multiple crates have also been made.

  • Stabilize --disable-default-ignore-filename-regex as --no-default-ignore-filename-regex. (8db80d5)

    The old name is still available as an alias, but may removed in future breaking release.

  • cargo llvm-cov show-env improvements:

    • Add --cmd and --fish. (#472)

    • Rename --export-prefix to --sh, --with-pwsh-env-prefix to --pwsh for consistency and clarity. (#472)

      The old names are still available as aliases, but may removed in future breaking release.

  • Turn some warnings into hard error. (837a118)

  • Diagnostics improvements. (93840f8)

  • Documentation improvements.

0.6.24

22 Jan 16:47
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

  • Support *-windows-gnullvm targets. (#470, thanks @mati865)

  • Fix a bug causing --profraw-only to remove too many files. (#469, thanks @smoelius)

  • Distribute prebuilt binary for AArch64 Windows.
    -C instrument-coverage doesn't support aarch64-pc-windows-msvc yet (rust-lang/rust#150123), but cross-compile to aarch64-pc-windows-gnullvm works.

0.6.23

06 Jan 16:24
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

0.6.22

30 Dec 08:44

Choose a tag to compare

  • Update documentation to mention the way to get coverage for wasm32-unknown-unknown target.

  • Exclude files named tests.rs/*_tests.rs/*-tests.rs from the report by default.