mirror of
https://github.com/golang/go
synced 2024-11-19 09:54:49 -07:00
net: fix darwin/amd64 build
Accidental semantics change in 4c6364a87d
.
Change-Id: I0bbfc441662d79af4dbac6f9fc4e3a485adfb924
Reviewed-on: https://go-review.googlesource.com/6831
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
9b73ecc327
commit
5e49bfec92
@ -22,8 +22,10 @@ func skipServerTest(net, unixsotype, addr string, ipv6, ipv4map, linuxOnly bool)
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
case "darwin":
|
case "darwin":
|
||||||
if runtime.GOARCH == "arm" && net == unixsotype {
|
if net == unixsotype {
|
||||||
return true
|
if runtime.GOARCH == "arm" || linuxOnly {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
if net == unixsotype && linuxOnly {
|
if net == unixsotype && linuxOnly {
|
||||||
|
Loading…
Reference in New Issue
Block a user