3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-25 04:02:38 +01:00
ergo/vendor/golang.org/x/sys/cpu/cpu_linux.go

17 lines
361 B
Go
Raw Normal View History

// 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-11-17 00:18:03 +01:00
//go:build !386 && !amd64 && !amd64p32 && !arm64
2020-06-01 06:45:05 +02:00
// +build !386,!amd64,!amd64p32,!arm64
package cpu
2020-09-06 07:23:02 +02:00
func archInit() {
2020-06-01 06:45:05 +02:00
if err := readHWCAP(); err != nil {
return
}
doinit()
Initialized = true
}