Skip to content
Permalink
Browse files
feat: support goarch=loong64 (#3277)
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Aug 3, 2022
1 parent 631003e commit 06d0ce0f4aa6d7f16d6fb072940d2aea3882271f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
@@ -169,6 +169,7 @@ var (
"linuxmips64le",
"linuxs390x",
"linuxriscv64",
"linuxloong64",
"netbsd386",
"netbsdamd64",
"netbsdarm",
@@ -217,6 +218,7 @@ var (
"s390x",
"wasm",
"riscv64",
"loong64",
}

validGoarm = []string{"5", "6", "7"}
@@ -31,6 +31,7 @@ func TestAllBuildTargets(t *testing.T) {
"mipsle",
"mips64le",
"riscv64",
"loong64",
},
Goarm: []string{
"6",
@@ -84,6 +85,7 @@ func TestAllBuildTargets(t *testing.T) {
"linux_mipsle_softfloat",
"linux_mips64le_hardfloat",
"linux_riscv64",
"linux_loong64",
"darwin_amd64_v1",
"darwin_amd64_v2",
"darwin_amd64_v4",
@@ -189,6 +191,7 @@ func TestGoosGoarchCombos(t *testing.T) {
{"linux", "ppc64le", true},
{"linux", "s390x", true},
{"linux", "riscv64", true},
{"linux", "loong64", true},
{"netbsd", "386", true},
{"netbsd", "amd64", true},
{"netbsd", "arm", true},

0 comments on commit 06d0ce0

Please sign in to comment.