Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu: avoid illegal instruction on netbsd/arm64
On NetBSD, this package tries to read a privileged register, which results in a SIGILL. Use the same workaround as Android and iOS. In the future, we could use sysctl(3) instead. Update golang/go#30824 Change-Id: Ifd9aa2a2cf4dac43341d013602d1ccb4b8d6eb6d Reviewed-on: https://go-review.googlesource.com/c/sys/+/235097 Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
- Loading branch information