-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Adding the ability to invalidate caches to force metadata collection #7256
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
Adding the ability to invalidate caches to force metadata collection #7256
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with adding filetime
, since it's just another crate by Alex.
@bors r+ Thanks! |
📌 Commit e3a1ae7 has been approved by |
…on, r=flip1995 Adding the ability to invalidate caches to force metadata collection This adds the discussed hack to touch `clippy_lints/src/lib.rs` to invalidate cargos cache and force metadata collection. I've decided to use the [`filetime`](https://github.com/alexcrichton/filetime) crate instead of the touch command to make is cross-platform and just cleaner in general. Looking at the maintainers I would say that it's a save crate to use xD. --- cc: #7172 I know this ID without looking it up now... This is not good changelog: none r? `@flip1995`
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
This adds the discussed hack to touch
clippy_lints/src/lib.rs
to invalidate cargos cache and force metadata collection. I've decided to use thefiletime
crate instead of the touch command to make is cross-platform and just cleaner in general. Looking at the maintainers I would say that it's a save crate to use xD.cc: #7172 I know this ID without looking it up now... This is not good
changelog: none
r? @flip1995