commit | eda1d405444262ab36160b87179e086872804709 | [log] [tgz] |
---|---|---|
author | Austin Clements <austin@google.com> | Mon Sep 21 09:18:32 2020 -0400 |
committer | Austin Clements <austin@google.com> | Mon Sep 21 16:50:07 2020 +0000 |
tree | 32b0fe5c49c72717ad307a543bddeaf76199d832 | |
parent | 02ff8b8ce49c7c8f1180ee6e915b867368ad77d3 [diff] |
make.bash: avoid warning when bootstrap doesn't support GOOS/GOARCH Currently, if make.bash is run with a GOOS or GOARCH that the bootstrap toolchain doesn't support, it will print an ominous but harmless warning like: 2020/09/21 09:05:27 unsupported GOARCH arm64 This comes from the invocation of "go version" to get the exact bootstrap toolchain version. Since the GOOS and GOARCH don't matter for this purpose, this CL simply clears them on the invocation of the bootstrap toolchain's "go version". Fixes #41525. Change-Id: I17d44eaafed9999b9fa7dcb9fb100b5fd5e554d0 Reviewed-on: https://go-review.googlesource.com/c/go/+/256297 Trust: Austin Clements <austin@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: David Chase <drchase@google.com> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.