]> Cypherpunks repositories - gostls13.git/commit
runtime/debug: add GoVersion to BuildInfo
authorJay Conrod <jayconrod@google.com>
Thu, 30 Sep 2021 17:46:03 +0000 (10:46 -0700)
committerJay Conrod <jayconrod@google.com>
Thu, 14 Oct 2021 18:44:21 +0000 (18:44 +0000)
commit85a068fdf21bd2e4475a87ee049af4fbe797bcbe
treedad851a6a338f9928687e20591fd705e6ee306a3
parent434cdd0337b9e6c7e0c369c9293cc14fd38dc80d
runtime/debug: add GoVersion to BuildInfo

BuildInfo now includes the version of Go used to build a binary, as
reported by runtime.Version() or 'go version'.

For #37475

Change-Id: Id07dda357dc70599d64a9202dab894c7288de1de
Reviewed-on: https://go-review.googlesource.com/c/go/+/353888
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
api/next.txt
src/cmd/go/internal/load/pkg.go
src/debug/buildinfo/buildinfo.go
src/debug/buildinfo/buildinfo_test.go
src/runtime/debug/mod.go