Commit Graph
3 Commits
Author SHA1 Message Date
Alex Brainman 54fe89f841 cpu: use IsProcessorFeaturePresent to calculate ARM64 on windows
This CL started as revert of CL 757482.

Fixes golang/go#76791

Change-Id: Iaa78c73a6dde8d735e74e2c57c86375ccd5902c7
Reviewed-on: https://go-review.googlesource.com/c/sys/+/758960
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2026-04-13 18:36:34 -07:00
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
Alex Brainman fc646e489f cpu: use IsProcessorFeaturePresent to calculate ARM64 on windows
For golang/go#76791

Change-Id: I9500b38b17b5e3e141df8770d82c725c2ba8fd65
Cq-Include-Trybots: luci.golang.try:x_sys-gotip-windows-arm64
Reviewed-on: https://go-review.googlesource.com/c/sys/+/740880
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2026-02-07 21:32:41 -08:00