Source file src/internal/cpu/cpu_arm64_other.go
Documentation: internal/cpu
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 // +build arm64 7 // +build !linux 8 // +build !freebsd 9 // +build !android 10 // +build !darwin ios 11 12 package cpu 13 14 func osInit() { 15 // Other operating systems do not support reading HWCap from auxiliary vector, 16 // reading privileged aarch64 system registers or sysctl in user space to detect 17 // CPU features at runtime. 18 } 19