Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken by Rust 1.44 #48

Open
pkgw opened this issue Jun 16, 2020 · 0 comments
Open

Broken by Rust 1.44 #48

pkgw opened this issue Jun 16, 2020 · 0 comments

Comments

@pkgw
Copy link

pkgw commented Jun 16, 2020

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 added a commit to tectonic-typesetting/tectonic that referenced this issue Jun 16, 2020
pkgw added a commit to tectonic-typesetting/tectonic that referenced this issue Jun 16, 2020
pkgw added a commit to tectonic-typesetting/tectonic that referenced this issue Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant