parse arch.list
All checks were successful
Gentoo Utils / build-oci-image (pull_request) Successful in 3s
Gentoo Utils / build (pull_request) Successful in 32s

This commit is contained in:
2025-12-13 05:36:26 +00:00
parent d2e8078c70
commit 3d496d23ca
5 changed files with 60 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
amd64
aarch64

View File

@@ -18,6 +18,14 @@ fn main() {
assert_eq!(global_package_mask, vec!["app-editors/vim"]);
assert_eq!(
repo.arch_list()
.iter()
.map(|arch| arch.get())
.collect::<Vec<_>>(),
vec!["amd64", "aarch64"]
);
let profile = repo
.evaluate_profile("gentoo-desktop")
.expect("failed to evaluate profile");