Skip to content

Commit

Permalink
[tailscale] runtime: disable osinit_hack on iOS as a test
Browse files Browse the repository at this point in the history
Updates tailscale/corp#9061
Updates golang#58323

Signed-off-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
bradfitz authored and danderson committed Feb 4, 2023
1 parent 178d6bc commit d0f872e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/runtime/os_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ func osinit() {
ncpu = getncpu()
physPageSize = getPageSize()

osinit_hack()
if GOOS != "ios" {
osinit_hack()
}
}

func sysctlbynameInt32(name []byte) (int32, int32) {
Expand Down

0 comments on commit d0f872e

Please sign in to comment.