doc/go1.18: correct "go build -asan" HTML tag

The tag was "go-mod-vendor", which doesn't match the content.

Also move that section later, so "go mod" sections stay together.

For #47694.

Change-Id: Id4fa7ee0768682a9aadfeb1b2f1d723e7521896b
Reviewed-on: https://go-review.googlesource.com/c/go/+/387354
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Cherry Mui 2022-02-22 12:54:57 -05:00
parent d17b65ff54
commit 3140625606

View file

@ -333,15 +333,6 @@ Do not send CLs removing the interior tags from such phrases.
third-party tools that need to collect package source code.)
</p>
<h4 id="go-mod-vendor"><code>go</code> <code>build</code> <code>-asan</code></h4>
<p><!-- CL 298612 -->
The <code>go</code> <code>build</code> command and related commands
now support an <code>-asan</code> flag that enables interoperation
with C (or C++) code compiled with the address sanitizer (C compiler
option <code>-fsanitize=address</code>).
</p>
<h4 id="go-mod-tidy"><code>go</code> <code>mod</code> <code>tidy</code></h4>
<p><!-- https://golang.org/issue/47738, CL 344572 -->
@ -369,6 +360,15 @@ Do not send CLs removing the interior tags from such phrases.
documentation.
</p>
<h4 id="go-build-asan"><code>go</code> <code>build</code> <code>-asan</code></h4>
<p><!-- CL 298612 -->
The <code>go</code> <code>build</code> command and related commands
now support an <code>-asan</code> flag that enables interoperation
with C (or C++) code compiled with the address sanitizer (C compiler
option <code>-fsanitize=address</code>).
</p>
<h4 id="go-test"><code>go</code> <code>test</code></h4>
<p><!-- CL 251441 -->