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

Broken by Rust 1.44

Open pkgw opened this issue 4 years ago • 0 comments

I am pretty sure that Rust 1.44 breaks cargo-kcov. If I try to run it in my normal configuration, I get:

error: cannot find test targets
note: try a clean rebuild first:
...

I can't finda any mention of this in the release notes, but I think that as of Rust/Cargo 1.44.0, test executables land inside target/debug/deps/ instead of target/debug/. Running a build with the 1.43 toolchain as opposed to 1.44 causes the test executables to land in the higher-level directory, and cargo-kcov works.

There doesn't seem to be much in the way of docs about the structure of the target/ directory — this page is the best I can find. It doesn't mention tests at all, unfortunately, but based on my read of things deps/ sounds like maybe where those files are supposed to land.

pkgw avatar Jun 16 '20 03:06 pkgw