diff options
| author | Jay Conrod <jayconrod@google.com> | 2019-05-31 14:14:00 -0400 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2019-05-31 23:00:43 +0000 |
| commit | 6f7542e4cb6914e8b8d888f16d440feeb8e631d2 (patch) | |
| tree | edb490d9208d53c74270f2371e563353c76f168d /src/errors | |
| parent | 64c134f90f0cf6d0e55fca93c433b68810d12f12 (diff) | |
| download | go-6f7542e4cb6914e8b8d888f16d440feeb8e631d2.tar.xz | |
cmd/go: ignore build tags when 'go get' modifies build list
In module mode, 'go get' should not consider build constraints when
loading packages in order to modify the module graph. With this
change, 'go get' considers all build tags to be true except for
"ignore" and malformed build constraint expressions.
When 'go get' builds packages, it still applies build constraints for
the target platform.
Fixes #32345
Change-Id: I6dceae6f10a5185870537de730b36292271ad124
Reviewed-on: https://go-review.googlesource.com/c/go/+/179898
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions
