1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-26 05:37:18 +02:00
lazygit/vendor/golang.org/x/sys/cpu/cpu_linux.go

17 lines
361 B
Go
Raw Normal View History

2019-08-26 16:53:38 +02:00
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
2021-04-01 21:07:21 +11:00
//go:build !386 && !amd64 && !amd64p32 && !arm64
2019-12-13 11:29:12 +01:00
// +build !386,!amd64,!amd64p32,!arm64
2019-08-26 16:53:38 +02:00
package cpu
2020-08-25 08:12:16 +10:00
func archInit() {
2019-12-13 11:29:12 +01:00
if err := readHWCAP(); err != nil {
2019-08-26 16:53:38 +02:00
return
}
doinit()
Initialized = true
}