Re:Rust – Faster compilation with the parallel front-end in ...
by epage on Friday November 10, 2023 @09:06AM
(#38218971)
I know you said 4s is good but have you tried changing the linker?
Number of dependencies likely won't affect incremental build times except for linking and replacing it might offer some good gains for incremental builds.
It makes a huge difference.
For what it's worth, I'm working on a project with about 1000 dependencies and incremental debug build time is about 4 seconds on my laptop.
That's already pretty good.