1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:24:48 -07:00

doc/go1.17: document new go/build/BuildContext.ToolTags field

For #44513

Change-Id: Ib21af742e574fcaa7e38bb437d42dbeed9d01f0b
Reviewed-on: https://go-review.googlesource.com/c/go/+/323350
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Ian Lance Taylor 2021-05-27 17:19:12 -07:00
parent c295107708
commit 6f58088bd8

View File

@ -413,6 +413,17 @@ Do not send CLs removing the interior tags from such phrases.
</dd>
</dl><!-- flag -->
<dl id="go/build"><dt><a href="/pkg/go/build/">go/build</a></dt>
<dd>
<p><!-- CL 310732 -->
The new
<a href="/pkg/go/build/#Context.ToolTags"><code>Context.ToolTags</code></a>
field holds the build tags appropriate to the current Go
toolchain configuration.
</p>
</dd>
</dl><!-- go/build -->
<dl id="io/fs"><dt><a href="/pkg/io/fs/">io/fs</a></dt>
<dd>
<p><!-- CL 293649 -->