-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider renaming debug
to generate-symbols
in profiles
#2373
Comments
This is one of those "history is weird" things. We've changed names of things that are historically important before, so it's not the end of the world, but that's some context at least. |
Yeah, OIBIT happen :) |
The term "debug" here was generally meant to encompass a number of options for debugging, for example right now it implies debuginfo and debug-assertions. We may want to add more options over time, but each individual option should also have its own key for tuning (I think debuginfo is missing one right now) The documentation may need to be updated... |
Hm, not sure. At least this [profile.release]
debug = true fn main() {
debug_assert!(false);
println!("Hello, world!");
} runs fine in |
Yep, and "Controls whether the compiler passes -g" comes from the docs |
Some context: #1444 (comment) |
Ok, quick grep reveals that The
At least |
Hm maybe that was just the intention and it never got implemented... I thought it was implemented? |
Either way though I think that a more appropriate name for "pass the |
Commenting on this extremely old issue to say that we had exactly this same confusion with Firefox builds a long time ago so we added an |
+1. This confused me for quite a while. I thought |
In profiles, one can use
debug = true # Controls whether the compiler passes -g
The name
debug
is confounding (at least for me):Obviously we can't just rename
debug
togenerate-symbols
, but we can add an alias and update docs.The text was updated successfully, but these errors were encountered: