]> git.lizzy.rs Git - rust.git/commit
Auto merge of #7256 - xFrednet:7172-trick-cargos-caching-for-collection, r=flip1995
authorbors <bors@rust-lang.org>
Tue, 25 May 2021 14:08:02 +0000 (14:08 +0000)
committerbors <bors@rust-lang.org>
Tue, 25 May 2021 14:08:02 +0000 (14:08 +0000)
commit6d50cff45afeeca85a14f1284badf9fc4b5b7668
tree64d60cb7ea22ebb58172360ded26accbfff73703
parentcd4abf93e08fc68f3bf287ab556935da457dc391
parente3a1ae7bfea265d0c452ce4511349c00ca0ee1b8
Auto merge of #7256 - xFrednet:7172-trick-cargos-caching-for-collection, 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`