diff options
| author | Cherry Mui <cherryyz@google.com> | 2022-09-16 19:54:51 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2022-09-17 02:56:44 +0000 |
| commit | 1c19c5602bc5d5f54463b1a0133965fa25ebcd56 (patch) | |
| tree | ab835cc4a801b1a3d64802bec1a2b11731697704 /src/debug | |
| parent | 7c87012f041948af55d323fc5447230c930e79aa (diff) | |
| download | go-1c19c5602bc5d5f54463b1a0133965fa25ebcd56.tar.xz | |
cmd/dist: add old style build tags
If one (accidentally) uses Go 1.16 as bootstrap toolchain, we
want it to print the error
found packages main (build.go) and building_Go_requires_Go_1_17_or_later (notgo117.go)
But because some files lack old style build tags, Go 1.16 instead
prints
//go:build comment without // +build comment
Add the build tags to make the error message work.
Change-Id: Iaa9b3c12e71842bb40f8687b2fda2cc4cb15b113
Reviewed-on: https://go-review.googlesource.com/c/go/+/431057
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/debug')
0 files changed, 0 insertions, 0 deletions
