-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo status line incorrectly says "+ debuginfo" #6948
Labels
C-bug
Category: bug
Comments
brson
changed the title
Cargo status line incorrectly says "+optimized"
Cargo status line incorrectly says "+ debuginfo"
May 17, 2019
bors
added a commit
that referenced
this issue
May 20, 2019
Set `Finished` line correctly for debug=0. Don't say `+ debuginfo` if `debug = 0`. Fixes #6948
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
debug=false
it saysWhen
debug=0
it saysMy understanding is that "0" and "false" both mean "no debuginfo", but cargo claims otherwise. Cargo also passes the
-Cdebuginfo=0
flag to rustc whendebug=0
and does not whendebug=false
. For consistency, and as a matter of defensiveness it seems like it should pass the flag anyway.The text was updated successfully, but these errors were encountered: