mirror of
https://github.com/apple/container.git
synced 2026-09-23 08:05:38 +00:00
Add support for aarch64 architecture alias (#1040)
- Adds `aarch64` as an alias for `arm64` in the `Arch` enum. This addresses the maintainer's request to support this common architecture name, ensuring consistency with `x86_64` normalization and preventing failures for users expecting `aarch64` support.
This commit is contained in:
@@ -19,7 +19,7 @@ public enum Arch: String {
|
||||
|
||||
public init?(rawValue: String) {
|
||||
switch rawValue.lowercased() {
|
||||
case "arm64":
|
||||
case "arm64", "aarch64":
|
||||
self = .arm64
|
||||
case "amd64", "x86_64", "x86-64":
|
||||
self = .amd64
|
||||
|
||||
Reference in New Issue
Block a user