3 ms·
Enable them when you need to debug. This is for speeding up "edit-build-run" workflows.
by 0x457 2y ago
Enable them when you need to debug. This is for speeding up "edit-build-run" workflows.
- nuudlman 2y agoIt's a lot faster to add a log point in a debugger than to add a print statement and recompile. Especially with cargo check, I really don't see the point of non-debuggable builds (outside of embedded, but the size of debuginfo already makes that a non-starter).
- 0x457 2y agoYes, but we're talking about time spent with "add a print statement and recompile" vs time saved by not including debuginfo on every other build. You have to do that comparison yourself.