update verifier pins

This commit is contained in:
bunnie 2024-09-23 01:47:26 +08:00
parent 75954de8d6
commit e01326c8ee

View file

@ -4,28 +4,28 @@ use std::fs::File;
use std::io::{BufReader, Read}; use std::io::{BufReader, Read};
use std::path::Path; use std::path::Path;
use crate::builder::CrateSpec;
use crate::DynError; use crate::DynError;
use crate::builder::CrateSpec;
pub fn check_project_consistency() -> Result<(), DynError> { pub fn check_project_consistency() -> Result<(), DynError> {
// note: implementations no longer published as crates: just APIs as of March 2023 // note: implementations no longer published as crates: just APIs as of March 2023
// 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.63", "xous^0.9.64",
"xous-ipc^0.10.0", "xous-ipc^0.10.1",
"xous-api-log^0.1.59", "xous-api-log^0.1.60",
"xous-api-names^0.9.61", "xous-api-names^0.9.62",
"xous-api-susres^0.9.59", "xous-api-susres^0.9.60",
"xous-api-ticktimer^0.9.59", "xous-api-ticktimer^0.9.60",
]; ];
// 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.25",
"svd2utra^0.1.22", "svd2utra^0.1.23",
]; ];
for pkg in check_pkgs { for pkg in check_pkgs {
verify(pkg.into(), true)?; verify(pkg.into(), true)?;