Brad Fitzpatrick
|
7f8519c88f
|
version: simplify iOS detection now that we require Go 1.16
See https://golang.org/doc/go1.16#darwin
No need for build tag tricks anymore.
|
2021-04-19 21:59:55 -07:00 |
|
Brad Fitzpatrick
|
19b0cfe89e
|
all: prepare for GOOS=ios in Go 1.16
Work with either way for now on iOS (darwin/arm64 vs ios/arm64).
In February when Go 1.16 comes out we'll have a universal binary for
darwin/arm64 (macOS) and will drop support for Go 1.15 and its
darwin/amd64 meaning iOS. (it'll mean macOS).
Context:
* https://tip.golang.org/doc/go1.16#darwin
* https://github.com/golang/go/issues/38485
* https://github.com/golang/go/issues/42100
|
2020-11-11 09:17:04 -08:00 |
|
Brad Fitzpatrick
|
4524dcf51e
|
version: move runtime.OS to tailscale OS mapping func to version
So other code can use this without duplicating the policy.
|
2020-04-01 08:50:56 -07:00 |
|
Brad Fitzpatrick
|
7172f3dbf4
|
version: add IsMobile func
And use it control/controlclient.
|
2020-03-02 12:37:28 -08:00 |
|