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

no_debug and omit_gdb_pretty_printer_sections attributes exist and are ungated #28091

Closed
huonw opened this Issue Aug 29, 2015 · 4 comments

Comments

Projects
None yet
4 participants
@huonw
Copy link
Member

huonw commented Aug 29, 2015

This compiles without a peep from the compiler:

#[no_debug]
#[omit_gdb_pretty_printer_section]
fn main() {}

The later especially seems to be purely designed for the rust testsuite, so should probably be feature gated.

(Nominating for more discussion and some sort of priority: if the decision is made to feature gate them,fixing this should just involve changing a few lines of src/libsyntax/feature_gate.rs and then adding the appropriate feature(...)s to the tests that use them.)

@christopherdumas

This comment has been minimized.

Copy link
Contributor

christopherdumas commented Sep 4, 2015

Should someone implement this?

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Sep 17, 2015

These should both be feature-gated.

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Sep 17, 2015

triage: P-medium

@nikomatsakis

This comment has been minimized.

Copy link
Contributor

nikomatsakis commented Sep 17, 2015

Tagging with E-mentor -- I'm happy to mentor this. (nmatsakis on IRC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.