Open
Description
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:
error: C:\...\example_a\src\lib.rs: no such file or directory
warning: The file 'C:\...\example_a\src\lib.rs' isn't covered.
This indicates that the exclude is not properly applied or I am using it wrong.