From 2f58137e2926fb056ba29225e4bc7f5bd48a7b61 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 4 Jul 2023 11:27:02 +0800 Subject: [PATCH] cargo started storing its data somewhere new The new location makes a lot more *sense* (previously the cache said 'git' when it was actually crates.io) but it broke the verifier. This is now fixed. --- xtask/src/verifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/verifier.rs b/xtask/src/verifier.rs index b779e8a51..6ce460aa6 100644 --- a/xtask/src/verifier.rs +++ b/xtask/src/verifier.rs @@ -39,7 +39,7 @@ pub fn verify(spec: CrateSpec) -> Result<(), DynError> { let path = entry.path(); // this should *really* exist if the build system is stable, so just unwrap all the things let regdir = path.file_name().unwrap().to_str().unwrap().to_string(); - if regdir.contains("git") { // crates.io sticks sources in something with git yadda yadda...docs don't really say what/why/how... + if regdir.contains("crates.io") { // crates.io sticks sources in something with git yadda yadda...docs don't really say what/why/how... cache_leaf.push_str(®dir); } }