diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2025-08-22 11:49:53 +0200 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2025-08-22 08:07:55 -0700 |
| commit | 98238fd495a2a16a2cd90197c6f41352760e4ccb (patch) | |
| tree | 232e59cf7f07e0e66465d46bef02b9889677cce7 /src/cmd/internal/obj | |
| parent | 1ad30844d9cc0d5792b055f44a6e98759587bbfb (diff) | |
| download | go-98238fd495a2a16a2cd90197c6f41352760e4ccb.tar.xz | |
all: delete remaining windows/arm code
Fixes #43800
Updates #71671
Change-Id: Ib7aafe3a3f6ae48f23fa23f03103820e9fcf5161
Reviewed-on: https://go-review.googlesource.com/c/go/+/698415
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/cmd/internal/obj')
| -rw-r--r-- | src/cmd/internal/obj/fips140.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cmd/internal/obj/fips140.go b/src/cmd/internal/obj/fips140.go index ea36849a21..da18b64178 100644 --- a/src/cmd/internal/obj/fips140.go +++ b/src/cmd/internal/obj/fips140.go @@ -196,14 +196,8 @@ func EnableFIPS() bool { // Perhaps the default should be changed back to -buildmode=exe, // after which we could remove this case, but until then, // skip FIPS on windows-386. - // - // 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": - return false - } + if buildcfg.GOOS == "windows" && buildcfg.GOARCH == "386" { + return false } // AIX doesn't just work, and it's not worth fixing. |
