Rust compile times 1min to 15 seconds!

300 points creativextent51 68 comments

Just wanted to share my recent happiness. Build times have been creeping up over the year of our production application. And yesterday I had had enough waiting a minute for a new dev compile. And yes, these were incremental builds. But I finally dug into workspaces, which took a good day for me to figure out what was actually needed to do. Then slowly ripping apart the spaghetti dependencies of code we had put together. But after a day of work, I have a workspace that has a lot of our dependencies that we don't touch much, and the build on change is less than 15 seconds!