]> Cypherpunks repositories - gostls13.git/commit
go/build: reserve GOARCH values for all common architectures
authorShenghou Ma <minux@golang.org>
Sat, 2 May 2015 02:09:54 +0000 (22:09 -0400)
committerMinux Ma <minux@golang.org>
Tue, 5 May 2015 04:19:28 +0000 (04:19 +0000)
commit1eebb91a5828c26532125b9464c92f721cd79d0f
tree2944ef8de317b57ae8fa59f839ded9a4a21d3d49
parent135389d0ff6d06646170ca10b432cddaac22a121
go/build: reserve GOARCH values for all common architectures

Whenever we introduce a new GOARCH, older Go releases won't
recognize them and this causes trouble for both our users and
us (we need to add unnecessary build tags).

Go 1.5 has introduced three new GOARCHes so far: arm64 ppc64
ppc64le, we can take the time to introduce GOARCHes for all
common architectures that Go might support in the future to
avoid the problem.

Fixes #10165.

Change-Id: Ida4f9112897cfb1e85b06538db79125955ad0f4c
Reviewed-on: https://go-review.googlesource.com/9644
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/build/syslist.go