Skip to content

Commit

Permalink
Revert "[tailscale] runtime: disable osinit_hack on iOS as a test"
Browse files Browse the repository at this point in the history
This reverts commit d0f872e.

Trying out upstream's fix instead: https://go-review.googlesource.com/c/go/+/466516

Updates #50
  • Loading branch information
bradfitz committed Feb 9, 2023
1 parent 37b2def commit 383cb3d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/runtime/os_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ func osinit() {
ncpu = getncpu()
physPageSize = getPageSize()

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

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

0 comments on commit 383cb3d

Please sign in to comment.