Closed acfoltzer closed 4 years ago
We still will have some issues with cruft accruing as Cargo.lock dependencies evolve while we are pinned to a particular rustc version. Hopefully we'll be able to continue updating the rustc version regularly enough that it won't get too bad before we wipe the slate clean for the new version.
This should prevent the cache of the
/target
directory from accruing complete sets of artifacts from multiplerustc
versions over time.This patch also fixes the use of
{{ .Environment.CACHE_VERSION }}
so that it applies to Linux, and so that it forms proper prefixes in the macOS cache keys.