cargo-kcov icon indicating copy to clipboard operation
cargo-kcov copied to clipboard

--features flag doesn't work with --all

Open asomers opened this issue 6 years ago • 1 comments

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.

asomers avatar Jan 01 '19 00:01 asomers

https://github.com/rust-lang/cargo/issues/5015

mbrobbel avatar Apr 12 '19 11:04 mbrobbel