File: os_unsafe_linux_arm64.go

package info (click to toggle)
golang-github-klauspost-cpuid 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid
  • size: 1,280 kB
  • sloc: asm: 117; sh: 12; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
// Copyright (c) 2021 Klaus Post, released under MIT License. See LICENSE file.

//go:build !nounsafe
// +build !nounsafe

package cpuid

import _ "unsafe" // needed for go:linkname

//go:linkname hwcap internal/cpu.HWCap
var hwcap uint