Skip to content

Commit 686df8b

Browse files
_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 <[email protected]> Trust: Emmanuel Odeke <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 6ff312a commit 686df8b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_content/doc/go1.16.html

+10
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,16 @@ <h3 id="darwin">Darwin and iOS</h3>
5050
transparent to anyone using gomobile to build iOS apps.
5151
</p>
5252

53+
<p>
54+
The introduction of <code>GOOS=ios</code> means that file names
55+
like <code>x_ios.go</code> will now only be built for
56+
<code>GOOS=ios</code>; see
57+
<a href="/cmd/go/#hdr-Build_constraints"><code>go</code>
58+
<code>help</code> <code>buildconstraint</code></a> for details.
59+
Existing packages that use file names of this form will have to
60+
rename the files.
61+
</p>
62+
5363
<p><!-- golang.org/issue/42100, CL 263798 -->
5464
Go 1.16 adds an <code>ios/amd64</code> port, which targets the iOS
5565
simulator running on AMD64-based macOS. Previously this was

0 commit comments

Comments
 (0)