From 8bcd77173b50775fe368e960ee8b9f341355e0c3 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Thu, 18 Sep 2025 10:40:50 -0400 Subject: [PATCH] only return arm64 for proper 64 architectures (#293) Signed-off-by: crosbymichael --- Sources/ContainerizationOCI/Platform.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ContainerizationOCI/Platform.swift b/Sources/ContainerizationOCI/Platform.swift index 90e8190d..e57342d4 100644 --- a/Sources/ContainerizationOCI/Platform.swift +++ b/Sources/ContainerizationOCI/Platform.swift @@ -51,7 +51,7 @@ public struct Platform: Sendable, Equatable { /// The CPU architecture, for example, `amd64` or `ppc64`. public var architecture: String { switch _rawArch { - case "arm64", "arm", "aarch64", "armhf", "armel": + case "arm64", "aarch64": return "arm64" case "x86_64", "x86-64", "amd64": return "amd64"