Skip to content

Commit efcdb70

Browse files
committed
[tailscale] runtime: disable osinit_hack on iOS as a test
Updates tailscale/corp#9061 Updates golang#58323 Signed-off-by: Brad Fitzpatrick <[email protected]>
1 parent 178d6bc commit efcdb70

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/runtime/os_darwin.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ func osinit() {
137137
ncpu = getncpu()
138138
physPageSize = getPageSize()
139139

140-
osinit_hack()
140+
if GOOS != "ios" {
141+
osinit_hack()
142+
}
141143
}
142144

143145
func sysctlbynameInt32(name []byte) (int32, int32) {

0 commit comments

Comments
 (0)