You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
brian@DESKTOP-UCV672I:~/dbgtest$ cargo build --release
Finished release [optimized] target(s) in 0.06s
When debug=0 it says
Finished release [optimized + debuginfo] target(s) in 0.06s
My understanding is that "0" and "false" both mean "no debuginfo", but cargo claims otherwise. Cargo also passes the -Cdebuginfo=0 flag to rustc when debug=0 and does not when debug=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:
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: