Currently, we fetch or build the cargo-dist binary every single time. If we're building for git, this gets repetitive and slow. This speeds it up by uploading the binary we fetched to the build artifacts, where we can fetch it back for later runs without rebuilding from source.
This doesn't affect local builds, only things which use the global build runner.
This bakes in an assumption we're running the global tasks on Unix. It's already the case that this will blow up on Windows, but it may be better to be more forward-thinking about it.
In testing, this cut ~5 minutes off of from-git testing builds, which is a nice time savings.
Currently, we fetch or build the cargo-dist binary every single time. If we're building for git, this gets repetitive and slow. This speeds it up by uploading the binary we fetched to the build artifacts, where we can fetch it back for later runs without rebuilding from source.
This doesn't affect local builds, only things which use the global build runner.
This bakes in an assumption we're running the global tasks on Unix. It's already the case that this will blow up on Windows, but it may be better to be more forward-thinking about it.
In testing, this cut ~5 minutes off of from-git testing builds, which is a nice time savings.