gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/internal/cpu/cpu_arm64_other.go (about)

     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  }