Exclude tag does not work properly on packages with both main.rs and lib.rs #339
Labels
C-bug
Category: related to a bug.
O-windows
Operating system: Windows
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
Performing
cargo llvm-cov test
on a workspace with excluded packages does not properly exclude packages with both main.rs and lib.rs.The command:
The html output of
cargo llvm-cov test --workspace --exclude example_a --html
will include example_a regardless.Here
example_a
is a package containing both a main.rs and a lib.rs.If I rename lib.rs in example_a I get the following error:
This indicates that the exclude is not properly applied or I am using it wrong.
The text was updated successfully, but these errors were encountered: