adopt ^ convention in the verifier

This commit is contained in:
bunnie 2024-02-01 02:17:06 +08:00
parent d03fbfe91c
commit 87377a7cdc

View file

@ -12,20 +12,20 @@ pub fn check_project_consistency() -> Result<(), DynError> {
// TODO: retire utralib/svd2utra from publication as well // TODO: retire utralib/svd2utra from publication as well
let check_pkgs = [ let check_pkgs = [
// this set updates with kernel API changes // this set updates with kernel API changes
"xous@0.9.57", "xous^0.9.57",
"xous-ipc@0.9.57", "xous-ipc^0.9.57",
"xous-api-log@0.1.53", "xous-api-log^0.1.53",
"xous-api-names@0.9.55", "xous-api-names^0.9.55",
"xous-api-susres@0.9.53", "xous-api-susres^0.9.53",
"xous-api-ticktimer@0.9.53", "xous-api-ticktimer^0.9.53",
]; ];
// utra/svd2utra changes are downgraded to warnings because these now prefer to pull // utra/svd2utra changes are downgraded to warnings because these now prefer to pull
// from the local patch version, so any inconsistency simply indicates we forgot to // from the local patch version, so any inconsistency simply indicates we forgot to
// publish the packages, rather than something nefarious has happened. // publish the packages, rather than something nefarious has happened.
let warn_pkgs = [ let warn_pkgs = [
// this set is only updated if the utralib changes // this set is only updated if the utralib changes
"utralib@0.1.24", "utralib^0.1.24",
"svd2utra@0.1.22", "svd2utra^0.1.22",
]; ];
for pkg in check_pkgs { for pkg in check_pkgs {
verify(pkg.into(), true)?; verify(pkg.into(), true)?;