BurntSushi / bstr

A string type for Rust that is not required to be valid UTF-8.
Other
745 stars 51 forks source link

ci: setup caching for build artifacts #136

Closed LingMan closed 1 year ago

LingMan commented 1 year ago

Reduces build time by 0.5-1.5 minutes depending on the job.

LingMan commented 1 year ago

Fair enough, however:

  1. If that ever becomes a problem, ripping it out is very easy at least in this case. You're missing out on the benefits based on an eventuality in the mean time.
  2. This action only makes whatever cargo/rustc put on disk in ~/.cargo and ./target available on the next run, so unless it starts actually breaking those files, I'd consider any such issue a bug in cargo/rustc.