1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:24:39 -07:00

crypto/internal/fips/check: enable windows/arm64

Looks like it works.

Cq-Include-Trybots: luci.golang.try:gotip-windows-arm64
Change-Id: I4914d5076eccaf1dd850a148070f179edf291c40
Reviewed-on: https://go-review.googlesource.com/c/go/+/627958
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
This commit is contained in:
Filippo Valsorda 2024-11-14 22:05:50 +01:00 committed by Gopher Robot
parent f99f5da18f
commit f61c2603e9
2 changed files with 3 additions and 5 deletions

View File

@ -191,12 +191,11 @@ func EnableFIPS() bool {
// after which we could remove this case, but until then,
// skip FIPS on windows-386.
//
// We don't know whether arm or arm64 works, because it is
// too hard to get builder time to test them. Disable since they
// are not important right now.
// We don't know whether arm works, because it is too hard to get builder
// time to test it. Disable since it's not important right now.
if buildcfg.GOOS == "windows" {
switch buildcfg.GOARCH {
case "386", "arm", "arm64":
case "386", "arm":
return false
}
}

View File

@ -39,7 +39,6 @@ func supported() bool {
case runtime.GOARCH == "wasm",
runtime.GOOS == "windows" && runtime.GOARCH == "386",
runtime.GOOS == "windows" && runtime.GOARCH == "arm",
runtime.GOOS == "windows" && runtime.GOARCH == "arm64",
runtime.GOOS == "aix":
return false
}