Skip to content

Commit

Permalink
_content/doc/go1.16: explicitly point out ios as a build tag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ianlancetaylor committed Mar 15, 2021
1 parent 6ff312a commit 686df8b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _content/doc/go1.16.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ <h3 id="darwin">Darwin and iOS</h3>
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
Expand Down

0 comments on commit 686df8b

Please sign in to comment.