Skip to content

Commit

Permalink
fix: support ios/arm64
Browse files Browse the repository at this point in the history
closes #3251

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 26, 2022
1 parent 999ca7a commit bc1e9db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/builders/buildtarget/targets.go
Expand Up @@ -155,6 +155,7 @@ var (
"freebsdarm",
"freebsdarm64", // not on the official list for some reason, yet its supported on go 1.14+
"illumosamd64",
"iosarm64",
"jswasm",
"linux386",
"linuxamd64",
Expand Down Expand Up @@ -192,6 +193,7 @@ var (
"dragonfly",
"freebsd",
"illumos",
"ios",
"js",
"linux",
"netbsd",
Expand Down
3 changes: 3 additions & 0 deletions internal/builders/buildtarget/targets_test.go
Expand Up @@ -18,6 +18,7 @@ func TestAllBuildTargets(t *testing.T) {
"openbsd",
"windows",
"js",
"ios",
},
Goarch: []string{
"386",
Expand Down Expand Up @@ -107,6 +108,7 @@ func TestAllBuildTargets(t *testing.T) {
"windows_arm_7",
"windows_arm64",
"js_wasm",
"ios_arm64",
}, result)
})

Expand Down Expand Up @@ -174,6 +176,7 @@ func TestGoosGoarchCombos(t *testing.T) {
{"freebsd", "amd64", true},
{"freebsd", "arm", true},
{"illumos", "amd64", true},
{"ios", "arm64", true},
{"linux", "386", true},
{"linux", "amd64", true},
{"linux", "arm", true},
Expand Down

0 comments on commit bc1e9db

Please sign in to comment.