cpu_linux.go (361B)
1 // Copyright 2018 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !386 && !amd64 && !amd64p32 && !arm64 6 // +build !386,!amd64,!amd64p32,!arm64 7 8 package cpu 9 10 func archInit() { 11 if err := readHWCAP(); err != nil { 12 return 13 } 14 doinit() 15 Initialized = true 16 }