-
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
beta/stable regression with -g and -C debuginfo #40083
Comments
This is not a rust-lang/rust regression. rustc did not accept -g and -C debuginfo at the same time since the first stable version I think. |
Due to rust-lang/cargo#3534, Cargo now uses |
@donhcd does passing |
(e.g. changing |
@alexcrichton yes, it looks like compilation works fine if I make that switch in .cargo/config |
Ok, excellent! We are likely to end up closing this (e.g. not reverting the initial change to Cargo), but we can be sure to document that |
okay, sounds good to me. thanks for looking into this! |
Closing per discussion. |
with this .cargo/config:
on beta and nightly,
cargo build
gives me:On stable, compilation works fine:
On nightly and beta, I can add
to my Cargo.toml to eliminate the compile errors, but I don't need to do this on stable.
Meta
The text was updated successfully, but these errors were encountered: