Skip to content

--enable-debug should add -g to RUSTFLAGS now that it has been somewhat fixed #7205

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

Closed
mstewartgallus opened this issue Jun 18, 2013 · 6 comments
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@mstewartgallus
Copy link
Contributor

--enable-debug should add -Z debug-info to RUSTFLAGS now that it has been somewhat fixed. Note that due to a bug in LLVM it is still broken on Windows so it should not be added on Windows.

@chris-morgan
Copy link
Member

Blocked on #7603; at present, rustc can't be built with -Z debug-info.

@thestinger
Copy link
Contributor

This is still blocked.

@lambda-fairy
Copy link
Contributor

rustc doesn't have a -Z debug-info option any more. Is this issue still valid?

@alexcrichton
Copy link
Member

Updating title to reflect that -Z debug-info is now -g

@emberian
Copy link
Member

Yes. It's now -g.

On Fri, Feb 14, 2014 at 6:14 PM, Chris Wong notifications@github.comwrote:

rustc doesn't have a -Z debug-info option any more. Is this issue still
valid?


Reply to this email directly or view it on GitHubhttps://github.com//issues/7205#issuecomment-35134937
.

@chris-morgan
Copy link
Member

Alias --debuginfo. I believe that long property names should be preferred in most cases, for the same reasons as you would name such a boolean variable debug_info or debuginfo and not g.

tamird added a commit to tamird/rust that referenced this issue Apr 22, 2015
@bors bors closed this as completed in 98f4221 Apr 26, 2015
flip1995 pushed a commit to flip1995/rust that referenced this issue May 20, 2021
…teffen

Fix FPs about generic args

Fix 2 false positives in [`use_self`] and [`useless_conversion`] lints, by taking into account generic args and comparing them.

Fixes: rust-lang#7205
Fixes: rust-lang#7206

changelog: Fix FPs about generic args in [`use_self`] and [`useless_conversion`] lints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-debuginfo Area: Debugging information in compiled programs (DWARF, PDB, etc.) A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

6 participants