3 ms·
You can also turn off debuginfo completely. Personally, someone who does printf debugging, I mainly need it to debug segfaults, which are really rare in Rust. S
by est31 6y ago
You can also turn off debuginfo completely. Personally, someone who does printf debugging, I mainly need it to debug segfaults, which are really rare in Rust. Sometimes the call stack of a panic is useful as well, but if I need debuginfo I can just re-enable it.
https://github.com/est31/cargo-udeps/commit/e550d93c7a6d756e639ecd7f117ea9f9328d3b38 https://github.com/est31/cargo-udeps/commit/e550d93c7a6d756e...
- snake_case 6y agoAuthor here. I just tried disabling debug info (debug = 0) for the first time and it looks like my recompile times shave off another 500-1000ms which isn't bad!
- est31 6y agoGlad to have been of help!