mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-14 05:16:35 +00:00

Also update golang.org/x/net and google.golang.org/grpc to fix vulnerabilities, although cloudflared is using them in a way that is not exposed to those risks
16 lines
322 B
Go
16 lines
322 B
Go
// 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.
|
|
|
|
//go:build !386 && !amd64 && !amd64p32 && !arm64
|
|
|
|
package cpu
|
|
|
|
func archInit() {
|
|
if err := readHWCAP(); err != nil {
|
|
return
|
|
}
|
|
doinit()
|
|
Initialized = true
|
|
}
|