-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
RUSTFLAGS=-Awarnings breaks Cargo for any target with an unsupported crate-type #132632
Comments
Can you provide what's being compiled? @rustbot label +S-needs-repro |
I think what happens is that |
Any Cargo project can be used to reproduce this. I've run into this and debugged it to the same root cause as @bjorn3 points out. I searched the community discord for
I'd much prefer if Cargo wasn't relying on parsing rustc's warnings. I think Cargo is doing this because the output of its combination of |
Probably a dup of rust-lang/cargo#8010? |
Hah, ehuss has already made the same assessment that I posted, but years ago. I agree this is a duplicate. |
code compiles and warnings are shown.
I expected to see this happen: compilation without warnings
Instead, this happened: compilation failed
Meta
rustc --version --verbose
:p.s.: cargo build compiles without warnings.
The text was updated successfully, but these errors were encountered: