xs/vendor/github.com/klauspost/cpuid/v2/os_unsafe_linux_arm64.go

12 lines
237 B
Go
Raw Normal View History

// Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file.
2022-09-13 03:08:25 +00:00
//go:build !nounsafe
// +build !nounsafe
package cpuid
import _ "unsafe" // needed for go:linkname
//go:linkname hwcap internal/cpu.HWCap
var hwcap uint