cargo-kcov
cargo-kcov copied to clipboard
--features flag doesn't work with --all
I have a workspace with a virtual manifest and multiple crates. If I run cargo kcov --features foo
directly in the subcrate's directory, then the tests build and run with foo enabled. However, if I run cargo kcov --all --features foo
from the top directory, then the --features
flag seems to be ignored. Shouldn't cargo-kcov pass that feature through to all subcrates? Or if that's not possible, then it should probably be an error to combine --features
with --all
.
https://github.com/rust-lang/cargo/issues/5015