Skip to content

Commit a76ec62

Browse files
dmitshurgopherbot
authored andcommitted
cpu: roll back "use IsProcessorFeaturePresent to calculate ARM64 on windows"
Roll back CL 740880 (commit fc646e4) 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>
1 parent eaaaaee commit a76ec62

2 files changed

Lines changed: 1 addition & 43 deletions

File tree

cpu/cpu_other_arm64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !darwin && !linux && !netbsd && !openbsd && !windows && arm64
5+
//go:build !darwin && !linux && !netbsd && !openbsd && arm64
66

77
package cpu
88

cpu/cpu_windows_arm64.go

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)