diff --git a/language/go/fileinfo.go b/language/go/fileinfo.go index fb431b043..990f5070f 100644 --- a/language/go/fileinfo.go +++ b/language/go/fileinfo.go @@ -621,7 +621,8 @@ func rulesGoSupportsPlatform(v version.Version, p rule.Platform) bool { p.OS == "linux" && p.Arch == "riscv64" || p.OS == "netbsd" && p.Arch == "arm64" || p.OS == "openbsd" && p.Arch == "arm64" || - p.OS == "windows" && p.Arch == "arm") { + p.OS == "windows" && p.Arch == "arm" || + p.OS == "windows" && p.Arch == "arm64") { return false } return true diff --git a/rule/platform.go b/rule/platform.go index 18275d306..2d797672d 100644 --- a/rule/platform.go +++ b/rule/platform.go @@ -94,6 +94,7 @@ var KnownPlatforms = []Platform{ {"windows", "386"}, {"windows", "amd64"}, {"windows", "arm"}, + {"windows", "arm64"}, } var OSAliases = map[string][]string{