kennytm / cargo-kcov

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

Cargo kcov broken on latest nightly [a04b88d19 2018-03-19] #25

Closed Lakier15 closed 6 years ago

Lakier15 commented 6 years ago

It seems cargo kcov is broken on latest nightly.

I have cargo kcov as part of my CI and it has always worked. On the latest nightly it seems to be broken.

cargo kcov --all -- --exclude-pattern=/.cargo,/usr/lib --verify

produces

error: Found argument '--all' which wasn't expected, or isn't valid in this context
    Did you mean to put '--all' after the subcommand 'kcov'?

USAGE:
    cargo <SUBCOMMAND>

For more information try --help

I even tried to do

cargo kcov -- --exclude-pattern=/.cargo,/usr/lib --verify

but also fails producing

error: Found argument '--exclude-pattern=/.cargo,/usr/lib' which wasn't expected, or isn't valid in this context

USAGE:
    cargo <SUBCOMMAND>

For more information try --help

Versions

kennytm commented 6 years ago

This is caused by a rust-lang/cargo#5208 which the fix will be deployed soon