From: Hana Date: Wed, 15 Dec 2021 13:40:30 +0000 (-0500) Subject: doc/go1.18: discuss embedded build info compatibility X-Git-Tag: go1.18beta2~235 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b1c7703f266a2d72f80f3b55eff822ad7980ce31;p=gostls13.git doc/go1.18: discuss embedded build info compatibility Fixes #50085 Change-Id: I9be8ddb983fb4fe598becbb0b93bb5b7e1f8438f Reviewed-on: https://go-review.googlesource.com/c/go/+/372214 Trust: Hyang-Ah Hana Kim Run-TryBot: Hyang-Ah Hana Kim TryBot-Result: Gopher Robot Reviewed-by: Bryan Mills --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 9cb3cae20d..2ec5fae8c7 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -250,6 +250,15 @@ Do not send CLs removing the interior tags from such phrases. package.

+

+ The underlying data format of the embedded build information can change with + new go releases, so an older version of go may not handle the + build information produced with a newer version of go. + To read the version information from a binary built with go 1.18, + use the go version command and the + debug/buildinfo package from go 1.18+. +

+

If the main module's go.mod file specifies go 1.17