commit | a21a6e44616eed6fa6eae0e40864d109390960ed | [log] [tgz] |
---|---|---|
author | Joel Sing <joel@sing.id.au> | Wed Apr 24 23:04:23 2019 +1000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed Apr 24 16:07:51 2019 +0000 |
tree | f09af8a8f1c52d7f08de94c7bd9601b4e0ffbccc | |
parent | e308d41fe51b691c4bb52edc0865ca49f938a0f9 [diff] |
cmd/dist: handle arm64 as a machine hardware name OpenBSD/arm64 reports itself as arm64 from `uname -m` - this currently matches as gohostarch=arm, rather than gohostarch=arm64. Correct this by matching on both aarch64 and arm64 (the alternative would be to use `uname -p`, however that's likely to cause upset elsewhere). Updates #31656 Change-Id: I7b2da93495d808e704caf032b3fadc984077769e Reviewed-on: https://go-review.googlesource.com/c/go/+/173598 Reviewed-by: Brad Fitzpatrick <bradfitz@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.