git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/cpuinfo/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 cpuinfo
     7  
     8  import _ "unsafe" // needed for go:linkname
     9  
    10  //go:linkname hwcap internal/cpu.HWCap
    11  var hwcap uint