Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Commit 7196383

Browse files
committed
importer: add additional Go 1.6 architectures
Fixes #580 Bring gb's list of known processor architectures up to date with cmd/go.
1 parent 21ed24b commit 7196383

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

importer/pkg.go

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,26 @@ var knownOS = map[string]bool{
2828
}
2929

3030
var knownArch = map[string]bool{
31-
"386": true,
32-
"amd64": true,
33-
"amd64p32": true,
34-
"arm": true,
35-
"arm64": true,
36-
"ppc64": true,
37-
"ppc64le": true,
38-
"mips": true,
39-
"mipsle": true,
40-
"mips64": true,
41-
"mips64le": true,
31+
"386": true,
32+
"amd64": true,
33+
"amd64p32": true,
34+
"arm": true,
35+
"armbe": true,
36+
"arm64": true,
37+
"arm64be": true,
38+
"mips": true,
39+
"mipsle": true,
40+
"mips64": true,
41+
"mips64le": true,
42+
"mips64p32": true,
43+
"mips64p32le": true,
44+
"ppc": true,
45+
"ppc64": true,
46+
"ppc64le": true,
47+
"s390": true,
48+
"s390x": true,
49+
"sparc": true,
50+
"sparc64": true,
4251
}
4352

4453
// goodOSArchFile returns false if the name contains a $GOOS or $GOARCH

0 commit comments

Comments
 (0)