Skip to content

Commit 996bd61

Browse files
authored
feat: support aarch64-apple-darwin target (#38)
1 parent f721f97 commit 996bd61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libs/flux/build.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ func (t Target) DetermineCargoTarget(logger *zap.Logger) string {
6666
return "s390x-unknown-linux-gnu"
6767
case t.OS == "darwin" && t.Arch == "amd64":
6868
return "x86_64-apple-darwin"
69+
case t.OS == "darwin" && t.Arch == "arm64":
70+
return "aarch64-apple-darwin"
6971
case t.OS == "windows" && t.Arch == "amd64":
7072
return "x86_64-pc-windows-gnu"
7173
default:

0 commit comments

Comments
 (0)