-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cargo always builds cargo check
#5236
Comments
Hm this doesn't reproduce with a "hello world" instance, do you have a way to reproduce this locally though? |
Yeah, I see the following. I'm not sure what else I could provide; seems odd that you can't reproduce, and yet I've reproduce on two different machines now...
|
This was discussed a bit in #3624 and #4318. cargo/src/cargo/ops/cargo_rustc/context/compilation_files.rs Lines 231 to 237 in 3548057
The bigger question is should |
I'm personally okay with that; if we can't check bin targets then that's fine, though that's somewhat surprising -- I'd expect us to be able to produce metadata anyway. But that's largely unimportant; I'm going to close this as not a bug. |
I'm seeing the following locally in a new project (created via
cargo new
):This isn't really too big of an issue, but it feels wrong that Cargo does work (and spawns rustc) despite nothing changing in the project to my knowledge. It's also somewhat concerning that I don't see anything with
=info
on the RUST_LOG which leads me to believe that this is perhaps unintentional?The text was updated successfully, but these errors were encountered: