Determining what is forcing crates to recompile?

At some point in my project (and I've seen this in another, but not as badly) every time I recompile, even if no actual change to my code, there are dozens of dependencies that recompile. In this case there are 29 crates and takes around 7 seconds.

Is there a way to work out what is triggering these other crates to recompile?

Looks like the sccache cache was broken. Deleted ~/.cache/sccache and killed the process (just in case). Now it's only building what I change. Did run out of space a few days ago, so that might have been why.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.