mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
doc/go1.18: don't mention -buildinfo flag
It was removed in CL 378576. For #50501 Change-Id: I26b8f0e99a40fa5c616aa4849a6ab15dd0d072f8 Reviewed-on: https://go-review.googlesource.com/c/go/+/379314 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
d1640d8652
commit
a4d3c73ac3
|
@ -253,10 +253,10 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
including build and tool tags (set with <code>-tags</code>), compiler,
|
including build and tool tags (set with <code>-tags</code>), compiler,
|
||||||
assembler, and linker flags (like <code>-gcflags</code>), whether cgo was
|
assembler, and linker flags (like <code>-gcflags</code>), whether cgo was
|
||||||
enabled, and if it was, the values of the cgo environment variables
|
enabled, and if it was, the values of the cgo environment variables
|
||||||
(like <code>CGO_CFLAGS</code>). This information may be omitted using the
|
(like <code>CGO_CFLAGS</code>).
|
||||||
flag <code>-buildinfo=false</code>. Both VCS and build information may be
|
Both VCS and build information may be read together with module
|
||||||
read together with module information using <code>go</code>
|
information using
|
||||||
<code>version</code> <code>-m</code> <code>file</code> or
|
<code>go</code> <code>version</code> <code>-m</code> <code>file</code> or
|
||||||
<code>runtime/debug.ReadBuildInfo</code> (for the currently running binary)
|
<code>runtime/debug.ReadBuildInfo</code> (for the currently running binary)
|
||||||
or the new <a href="#debug/buildinfo"><code>debug/buildinfo</code></a>
|
or the new <a href="#debug/buildinfo"><code>debug/buildinfo</code></a>
|
||||||
package.
|
package.
|
||||||
|
|
Loading…
Reference in a new issue