commit | e77772198cdc3dbfcf7f2de96630204df9fd3a0b | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Feb 14 22:28:15 2019 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Thu Feb 14 21:44:11 2019 +0000 |
tree | 1462352bb8cd01b2723ed5e9cb823fc1542194ea | |
parent | 983097b1a8a340cd1cc7df17d735154d89e10b1a [diff] |
cpu: fix build for GOARCH=arm64 on GOOS!=linux The current implementation for arm64 only supports linux (through HWCaps read from /proc/self/auxv) and fails to build e.g. on darwin/arm64. Fixes golang/go#30237 Change-Id: I9f32a285760795441a829b0a81b2d5aff04e2dc4 Reviewed-on: https://go-review.googlesource.com/c/162797 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.