In previous Go releases, the "ios" build tag with darwin/amd64 produced working binaries:
barloga5k:x509 $ go1.14.2 download
...
Downloaded 100.0% (125040726 / 125040726 bytes)
Unpacking /Users/bradfitz/sdk/go1.14.2/go1.14.2.darwin-amd64.tar.gz ...
Success. You may now run 'go1.14.2'
barloga5k:x509 $ GOARCH=amd64 go1.14.2 install --tags=ios crypto/x509
barloga5k:x509 $
(Such a configuration is used when running under the iOS simulator in Xcode)
But at Go tip:
barloga5k:x509 $ go version
go version devel +a7e9e84716 Mon Apr 27 20:20:53 2020 +0000 darwin/amd64
barloga5k:x509 $ go install --tags=ios crypto/x509
# crypto/x509
./cert_pool.go:65:9: undefined: loadSystemRoots
./root.go:21:32: undefined: loadSystemRoots
Looks like https://go-review.googlesource.com/c/go/+/227197 (da8591b, @aclements) dropped the // +build arm arm64 ios disjunction.
Labeling release-blocker in that it's a regression.
In previous Go releases, the "ios" build tag with darwin/amd64 produced working binaries:
(Such a configuration is used when running under the iOS simulator in Xcode)
But at Go tip:
Looks like https://go-review.googlesource.com/c/go/+/227197 (da8591b, @aclements) dropped the
// +build arm arm64 iosdisjunction.Labeling release-blocker in that it's a regression.