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

Tracking issue for `no_debug` feature #29721

Closed
aturon opened this Issue Nov 9, 2015 · 9 comments

Comments

Projects
None yet
8 participants
@aturon
Member

aturon commented Nov 9, 2015

Tracks stabilization of #[no_debug].

@eefriedman

This comment has been minimized.

Contributor

eefriedman commented Nov 10, 2015

The #[no_debug] suppresses debug info for the marked function (so the function is always compiled as if -g is turned off).

If we want to let people avoid stepping into a particular function, something like gcc's "artificial" function attribute is a better idea. I can't think of any other good reason to suppress debug info.

If we do decide to stabilize this, we need some checks to make sure the attribute is only applied in places where it's actually supported.

@nrc nrc added the T-tools label Aug 17, 2016

@nrc

This comment has been minimized.

Member

nrc commented Aug 17, 2016

Is anyone using this? What is the motivation for it existing?

Nominating for discussion/FCP (my opinion: deprecate unless someone really wants this).

@nrc nrc added the I-nominated label Aug 17, 2016

@jonas-schievink

This comment has been minimized.

Contributor

jonas-schievink commented Aug 18, 2016

A quick GitHub search finds no use of this

@petrochenkov

This comment has been minimized.

Contributor

petrochenkov commented Aug 18, 2016

Is anyone using this? What is the motivation for it existing?

I use it as a workaround for #35566.

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Aug 22, 2016

Hear ye, hear ye! This unstable issue is now entering final comment period with the inclination to deprecate and remove -- basically because nobody seems to really want it.

@rust-lang/lang members, please check off your name to signal agreement. Leave a comment with concerns or objections. Others, please leave comments. Thanks!

@alexcrichton

This comment has been minimized.

Member

alexcrichton commented Feb 2, 2017

Deprecated in #37128, so closing.

@SimonSapin

This comment has been minimized.

Contributor

SimonSapin commented Feb 22, 2018

The deprecation landed on 2017-10-27. Can this feature be removed? (It still has an entry at https://doc.rust-lang.org/unstable-book/language-features/no-debug.html.)

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Feb 22, 2018

@SimonSapin do it =)

@nikomatsakis

This comment has been minimized.

Contributor

nikomatsakis commented Feb 22, 2018

(Or someone else :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment