You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
215 B
Go
11 lines
215 B
Go
3 years ago
|
// Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file.
|
||
|
|
||
|
//+build !nounsafe
|
||
|
|
||
|
package cpuid
|
||
|
|
||
|
import _ "unsafe" // needed for go:linkname
|
||
|
|
||
|
//go:linkname hwcap internal/cpu.HWCap
|
||
|
var hwcap uint
|