_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>
This commit is contained in:
Родитель
6ff312ae7c
Коммит
686df8bfd7
|
@ -50,6 +50,16 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
transparent to anyone using gomobile to build iOS apps.
|
transparent to anyone using gomobile to build iOS apps.
|
||||||
</p>
|
</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 -->
|
<p><!-- golang.org/issue/42100, CL 263798 -->
|
||||||
Go 1.16 adds an <code>ios/amd64</code> port, which targets the iOS
|
Go 1.16 adds an <code>ios/amd64</code> port, which targets the iOS
|
||||||
simulator running on AMD64-based macOS. Previously this was
|
simulator running on AMD64-based macOS. Previously this was
|
||||||
|
|
Загрузка…
Ссылка в новой задаче