_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 <iant@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/_content/doc/go1.16.html b/_content/doc/go1.16.html
index 66cd6eb..ae122e6 100644
--- a/_content/doc/go1.16.html
+++ b/_content/doc/go1.16.html
@@ -50,6 +50,16 @@
transparent to anyone using gomobile to build iOS apps.
</p>
+<p>
+ The introduction of <code>GOOS=ios</code> means that file names
+ like <code>x_ios.go</code> will now only be built for
+ <code>GOOS=ios</code>; see
+ <a href="/cmd/go/#hdr-Build_constraints"><code>go</code>
+ <code>help</code> <code>buildconstraint</code></a> for details.
+ Existing packages that use file names of this form will have to
+ rename the files.
+</p>
+
<p><!-- golang.org/issue/42100, CL 263798 -->
Go 1.16 adds an <code>ios/amd64</code> port, which targets the iOS
simulator running on AMD64-based macOS. Previously this was