From: Ian Lance Taylor Date: Wed, 19 Jan 2022 03:14:25 +0000 (-0800) Subject: doc/go1.18: don't mention -buildinfo flag X-Git-Tag: go1.18beta2~67 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a4d3c73ac3cc109ac2088beadf4d51987a60c625;p=gostls13.git 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 Run-TryBot: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 133bfe0ef2..a43b65d0a2 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -253,10 +253,10 @@ Do not send CLs removing the interior tags from such phrases. including build and tool tags (set with -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.