libgo/go/internal/cpu/cpu_arm64_other.go
raw| 1 | // Copyright 2020 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build arm64 && !linux && !freebsd && !android && (!darwin || ios) |
| 6 | |
| 7 | package cpu |
| 8 | |
| 9 | func osInit() { |
| 10 | // Other operating systems do not support reading HWCap from auxiliary vector, |
| 11 | // reading privileged aarch64 system registers or sysctl in user space to detect |
| 12 | // CPU features at runtime. |
| 13 | } |