]> Cypherpunks repositories - gostls13.git/commit
cmd/go: don't crash on unknown GOARCH unless we actually care
authorIan Lance Taylor <iant@golang.org>
Tue, 17 Mar 2015 19:58:10 +0000 (12:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 18 Mar 2015 00:16:17 +0000 (00:16 +0000)
commite14339d34cab4ae7abd7d0f83aacff9eed516ea2
treef95e28cc265a1b54082d283a6fdcbe4211670045
parentdb96e6821ad7dab72b459165a66c6dbb08160eda
cmd/go: don't crash on unknown GOARCH unless we actually care

For example, "GOARCH=sparc go build -compiler=gccgo" should not crash
merely because the architecture character for sparc is not known.

Change-Id: I18912c7f5d90ef8f586592235ec9d6e5053e4bef
Reviewed-on: https://go-review.googlesource.com/7695
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/build.go
src/cmd/go/env.go