overmindtech/buildkit-cache-dance

Preserve timestamps of files transfered to/from cache

kskalski opened this issue · 0 comments

I'm having trouble with using the extracted -> injected cache content in Rust environment. It appears as the compilation artifacts are ignored/invalidated by cargo tool (I managed to successfully cache and re-use the downloaded dependencies, so the set-up itself seems to kind of work).
My current guess is that modifying timestamps during "dance" is making the files ignored.

In any case I think preserving timestamps would be a nice to have feature. It should be possible to achieve by