[Media] What's up with cargo execution times?

52 points t-kiwi
[Media] What's up with cargo execution times?

For my bevy game lI've been optimising the incremental build times as much as can to improve iteration speed. Switching to mold then wild from u/dlattimore has helped quite a bit, however it has exposed the surprising amount of time spend waiting for cargo every cargo run.

Is there any way can get cargo to cache or run in some kind of first party watch mode so it doesn't have to what assume is rebuild the entire compilation graph each time?

99.9% of the time I'm just editing code in my crate. Is there an optimised path for cargo to only consider changes in that Scope?