A question about go bug template

54 views
Skip to first unread message

Manlio Perillo

unread,
Apr 24, 2021, 3:34:17 AM4/24/21
to golang-nuts
In the go bug template,  go version is printed twice, the first time in the "go version" section and the second time in the "details" section as GOROOT/bin/go version.

After https://golang.org/cl/288693 , these two entries should show the same version.
In order for them to differ, one should do something like
  $ GOROOT=~/sdk/go.12.17 go version

What is the reason for printing both versions?


Thanks
Manlio

Sean Liao

unread,
Apr 24, 2021, 7:22:03 AM4/24/21
to golang-nuts
1 for consistency in the report template (helps triagers)
2 GOROOT may actually be set separately

Manlio Perillo

unread,
Apr 24, 2021, 9:47:58 AM4/24/21
to golang-nuts
GOROOT is in fact set separately for ~/sdk/go1.12.17 (by the wrapper in GOBIN/go1.12.17), but in the end the go command used should be the same.

Thanks.
Reply all
Reply to author
Forward
0 new messages