Files
sys/cpu/cpu_other_arm64.go
T
Dmitri Shuralyov a76ec62d6c cpu: roll back "use IsProcessorFeaturePresent to calculate ARM64 on windows"
Roll back CL 740880 (commit fc646e489f)
because it adds a golang.org/x/sys/windows import to the cpu package.
The cpu package is vendored into the main Go tree and the policy there
does not currently permit this dependency.

For golang/go#76791.
Fixes golang/go#78259.

Change-Id: I72860cdf98192f4cbd2b3398926203a752d8d0fe
Cq-Include-Trybots: luci.golang.try:x_sys-gotip-windows-arm64
Reviewed-on: https://go-review.googlesource.com/c/sys/+/757482
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
2026-03-20 13:12:12 -07:00

12 lines
275 B
Go

// Copyright 2019 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 !darwin && !linux && !netbsd && !openbsd && arm64
package cpu
func doinit() {
setMinimalFeatures()
}