mirror of
https://github.com/go-gitea/gitea
synced 2024-09-19 02:06:04 +00:00
11 lines
215 B
Go
11 lines
215 B
Go
|
// 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
|