News for hackers. Stuff that matters.
Re:Reducing Rust Incremental Compilation Times on macOS by est31 on Sunday April 18, 2021 @08:57AM (#26852016)
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/e550d93c7a6d756e...

Re:Reducing Rust Incremental Compilation Times on macOS by snake_case on Sunday April 18, 2021 @10:41AM (#26852898)
Author 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!
Re:Reducing Rust Incremental Compilation Times on macOS by est31 on Sunday April 18, 2021 @05:24PM (#26856525)
Glad to have been of help!