Releases: taiki-e/cargo-llvm-cov
0.8.4
- Update minimal version of
cargo-config2to 0.1.40 to fix error with custom targets in recent nightly.
0.8.3
-
cargo llvm-cov show-envimprovements:- Add
--cshfor csh and tcsh. - Add
--nufor nushell. - Add
--xonshfor xonsh.
- Add
-
Diagnostics improvements.
0.8.2
0.8.1
-
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
-
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
--packageare 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
--workspaceor--package, to match the behavior when--workspaceor--packageis used (by default, only show the tested crates). (#476)Compatibility Note: When
--workspaceor--packageis 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
--workspaceor--package. If you don't want to test other workspace members but still want to include them in the report, consider using--workspaceor--exclude-from-test.
0.7.1
0.7.0
-
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
--packageoption 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-regexas--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-envimprovements: -
Turn some warnings into hard error. (837a118)
-
Diagnostics improvements. (93840f8)
-
Documentation improvements.
0.6.24
-
Fix a bug causing
--profraw-onlyto remove too many files. (#469, thanks @smoelius) -
Distribute prebuilt binary for AArch64 Windows.
-C instrument-coveragedoesn't supportaarch64-pc-windows-msvcyet (rust-lang/rust#150123), but cross-compile toaarch64-pc-windows-gnullvmworks.
0.6.23
- Enable release immutability.
0.6.22
-
Update documentation to mention the way to get coverage for
wasm32-unknown-unknowntarget. -
Exclude files named
tests.rs/*_tests.rs/*-tests.rsfrom the report by default.