Skip to content

Commit 0465347

Browse files
committed
Fix the compatibility with the aarch64 architecture
1 parent 9867637 commit 0465347

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SwiftyESBuild/ArchitectureDetector.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import TSCBasic
33
import TSCUtility
44

55
public enum CpuArchitecture: String, Hashable {
6+
case aarch64 = "aarch64"
67
case arm
78
case arm64
89
case armv7
@@ -20,7 +21,7 @@ public enum CpuArchitecture: String, Hashable {
2021
*/
2122
var esbuildValue: String {
2223
switch self {
23-
case .arm64: return "arm64"
24+
case .arm64, .aarch64: return "arm64"
2425
case .armv7: return "armv7"
2526
case .x86_64: return "x64"
2627
case .arm: return "arm"

0 commit comments

Comments
 (0)