You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go/packages: report an error from Load when GOROOT is misconfigured
Load should return an error when 'go list' command returns the following error:
err: exit status 2: stderr: go: no such tool "compile"
This occurs when internally running `go list` on a misconfigured GOROOT directory.
Fixesgolang/go#69606
Change-Id: Ib7bf58293612e26aa33d2cf8230378747ad01820
Reviewed-on: https://go-review.googlesource.com/c/tools/+/615396
Reviewed-by: Michael Podtserkovskii <michaelpo@meta.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Commit-Queue: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
0 commit comments