@@ -38,7 +38,7 @@ func isLinuxOS(os string) bool {
3838// The OS value should be normalized before calling this function.
3939func isKnownOS (os string ) bool {
4040 switch os {
41- case "aix" , "android" , "darwin" , "dragonfly" , "freebsd" , "hurd" , "illumos" , "js" , "linux" , "nacl" , "netbsd" , "openbsd" , "plan9" , "solaris" , "windows" , "zos" :
41+ case "aix" , "android" , "darwin" , "dragonfly" , "freebsd" , "hurd" , "illumos" , "ios" , " js" , "linux" , "nacl" , "netbsd" , "openbsd" , "plan9" , "solaris" , "windows" , "zos" :
4242 return true
4343 }
4444 return false
@@ -60,7 +60,7 @@ func isArmArch(arch string) bool {
6060// The arch value should be normalized before being passed to this function.
6161func isKnownArch (arch string ) bool {
6262 switch arch {
63- case "386" , "amd64" , "amd64p32" , "arm" , "armbe" , "arm64" , "arm64be" , "ppc64" , "ppc64le" , "mips" , "mipsle" , "mips64" , "mips64le" , "mips64p32" , "mips64p32le" , "ppc" , "riscv" , "riscv64" , "s390" , "s390x" , "sparc" , "sparc64" , "wasm" :
63+ case "386" , "amd64" , "amd64p32" , "arm" , "armbe" , "arm64" , "arm64be" , "ppc64" , "ppc64le" , "loong64" , " mips" , "mipsle" , "mips64" , "mips64le" , "mips64p32" , "mips64p32le" , "ppc" , "riscv" , "riscv64" , "s390" , "s390x" , "sparc" , "sparc64" , "wasm" :
6464 return true
6565 }
6666 return false
0 commit comments