kennytm / cargo-kcov

Cargo subcommand to run kcov to get coverage report on Linux
127 stars 20 forks source link

Coverage found the following executables: [] #54

Open asomers opened 11 months ago

asomers commented 11 months ago

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...]
...
mariusknaust commented 10 months ago

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