diff --git a/src/runtime/os_darwin.go b/src/runtime/os_darwin.go index d9a5678977c429..c4f3bb6a818585 100644 --- a/src/runtime/os_darwin.go +++ b/src/runtime/os_darwin.go @@ -137,9 +137,7 @@ func osinit() { ncpu = getncpu() physPageSize = getPageSize() - if GOOS != "ios" { - osinit_hack() - } + osinit_hack() } func sysctlbynameInt32(name []byte) (int32, int32) {