Skip to content

Commit

Permalink
Merge pull request #1105 from michalbiesek/feat-riscv64
Browse files Browse the repository at this point in the history
Add `riscv64` arch to `check{Architecture|Platform}`
  • Loading branch information
tianon authored Aug 17, 2023
2 parents 4b568ff + 0c1622e commit 1be3fba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ func checkArchitecture(Architecture string, Variant string) {
"mips64": {""},
"mips64le": {""},
"s390x": {""},
"riscv64": {""},
}
for arch, variants := range validCombins {
if arch == Architecture {
Expand All @@ -232,7 +233,7 @@ func checkPlatform(OS string, Architecture string) {
"darwin": {"386", "amd64", "arm", "arm64"},
"dragonfly": {"amd64"},
"freebsd": {"386", "amd64", "arm"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64", "ppc64le", "mips64", "mips64le", "s390x"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64", "ppc64le", "mips64", "mips64le", "s390x", "riscv64"},
"netbsd": {"386", "amd64", "arm"},
"openbsd": {"386", "amd64", "arm"},
"plan9": {"386", "amd64"},
Expand Down

0 comments on commit 1be3fba

Please sign in to comment.