-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to skip cleaning of some specified src crates in registry/src #100
Comments
At the moment Swatinem/rust-cache removes registr/src before caching. details: Swatinem/rust-cache#100
At the moment Swatinem/rust-cache removes registr/src before caching. details: Swatinem/rust-cache#100
At the moment Swatinem/rust-cache removes registr/src before caching. details: Swatinem/rust-cache#100
Caching all of |
@Oppen thanks for reply. |
Oh, you're right. I misinterpreted the current issue as being related to which subfolders were cached. |
Maybe just a half-solution, but I excluded |
In theory
cache
should be enough to recreate sources and reduce the build time.However, there are some crates, eg.
librocksdb-sys
that do not benefit from that. Restoring sources fromcache
is not enough.(more details ci: enable 'librocksdb-sys' to be able to be properly cached)
How about addressing this problem by checking if some path from
cache-directories
belongs toregistry/src
and prevent this path from removal.Or maybe some additional config param with list of
src
entries to keep?The text was updated successfully, but these errors were encountered: