commit | 98379d014ca70c367705a7beb759a0c2dce6172e | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Sat Oct 17 20:37:20 2020 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Sun Oct 18 12:10:11 2020 +0000 |
tree | 4aea702561978e277355df5f8fba0d57ec9f04c9 | |
parent | b09fb700fbb73bb06b1863b5741a67ef6dbfa433 [diff] |
cpu: avoid illegal instruction on openbsd/arm64 On OpenBSD, this package tries to read a privileged register, which results in a SIGILL. Use the same workaround as Android, iOS and NetBSD. Update golang/go#31746 Change-Id: I981249310169bc30b018c1a157529a4e46597d81 Reviewed-on: https://go-review.googlesource.com/c/sys/+/263337 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Joel Sing <joel@sing.id.au>
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.