From 686df8bfd7ae1886432192bd655a3c87bab046fb Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 26 Feb 2021 07:21:53 -0800 Subject: [PATCH] _content/doc/go1.16: explicitly point out ios as a build tag For golang/go#44626 For golang/go#40700 Change-Id: I42c064f1d7a7bda42cd1de161a923720021eeda5 Reviewed-on: https://go-review.googlesource.com/c/website/+/296849 Trust: Ian Lance Taylor Trust: Emmanuel Odeke Reviewed-by: Dmitri Shuralyov --- _content/doc/go1.16.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_content/doc/go1.16.html b/_content/doc/go1.16.html index 66cd6eb7..ae122e63 100644 --- a/_content/doc/go1.16.html +++ b/_content/doc/go1.16.html @@ -50,6 +50,16 @@ Do not send CLs removing the interior tags from such phrases. transparent to anyone using gomobile to build iOS apps.

+

+ The introduction of GOOS=ios means that file names + like x_ios.go will now only be built for + GOOS=ios; see + go + help buildconstraint for details. + Existing packages that use file names of this form will have to + rename the files. +

+

Go 1.16 adds an ios/amd64 port, which targets the iOS simulator running on AMD64-based macOS. Previously this was