-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/packages: don't fail if GOPACKAGESDRIVER leaves Compiler/GOARCH=""
This change causes packages.Load to set TypesSizes to a fallback value whenever the external GOPACKAGESDRIVER fails to populate the Compiler and GOARCH fields of the response. Fixes golang/go#63700 Change-Id: I189ae97dde04f313f79e5db39a10b4a217cd8534 Reviewed-on: https://go-review.googlesource.com/c/tools/+/537876 Reviewed-by: Robert Findley <rfindley@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information
Showing
1 changed file
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters