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

Coverage found the following executables: []

Open asomers opened this issue 1 year ago • 1 comments

cargo-kcov no longer works with recent versions of cargo. It tries to invoke kcov without any executable, which kcov treats as a syntax error. The last Cargo version that I know of as working is 1.68.0, and the first broken version is 1.73.0. I haven't tried to bisect it further.

> cargo kcov --verbose
       Clean file:///usr/home/somers/src/rust/mio-aio#0.7.0

       Build test executables
    Coverage found the following executables: []
     Running "kcov" "--merge" "--exclude-pattern=/home/somers/.cargo" "--verify" "/usr/home/somers/src/rust/mio-aio/target/cov"
kcov: warning: kcov: WARNING: kcov has been built without libbfd-dev (or
kcov: binutils-dev), so the --verify option will not do anything.

Usage: kcov [OPTIONS] out-dir in-file [args...]
...

asomers avatar Aug 04 '23 23:08 asomers

It actually stops working with 1.71.0, hence 1.70.0 is the last compatible version.

mariusknaust avatar Aug 16 '23 18:08 mariusknaust