mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
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.
This commit is contained in:
parent
5d34ffccbf
commit
2f58137e29
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ pub fn verify(spec: CrateSpec) -> Result<(), DynError> {
|
||||||
let path = entry.path();
|
let path = entry.path();
|
||||||
// this should *really* exist if the build system is stable, so just unwrap all the things
|
// 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();
|
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);
|
cache_leaf.push_str(®dir);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue