diff --git a/doc/go1.18.html b/doc/go1.18.html index 133bfe0ef2b12..a43b65d0a21f3 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -253,10 +253,10 @@
-tags
), compiler,
assembler, and linker flags (like -gcflags
), whether cgo was
enabled, and if it was, the values of the cgo environment variables
- (like CGO_CFLAGS
). This information may be omitted using the
- flag -buildinfo=false
. Both VCS and build information may be
- read together with module information using go
- version
-m
file
or
+ (like CGO_CFLAGS
).
+ Both VCS and build information may be read together with module
+ information using
+ go
version
-m
file
or
runtime/debug.ReadBuildInfo
(for the currently running binary)
or the new debug/buildinfo
package.