catinello.eu/x/cpuid@v0.0.0-20231214173555-81a76c018636/os_unsafe_linux_arm64.go (about)

     1  // Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file.
     2  
     3  //go:build !nounsafe
     4  // +build !nounsafe
     5  
     6  package cpuid
     7  
     8  import _ "unsafe" // needed for go:linkname
     9  
    10  //go:linkname hwcap internal/cpu.HWCap
    11  var hwcap uint