There were some nice improvements in compilation speed. But all that seems to be the speed of rustc generating object files.
Now, I have a project with a lot of dependencies. The dependencies don’t get recompiled on each change, so that is not really a problem during compilation. But the linking takes a long time.
This is especially annoying during doctests, because each one is a separate program that links everything in. Furthermore, they seem to recompile and relink every time they are run even if no code at all changed.
Did anyone know of some tricks or tweaks that could make linking faster?
If that matters, I’m on Linux, using mostly current nightly (usually not more than few days behind).