diff options
| author | Jorropo <jorropo.pgm@gmail.com> | 2025-10-23 10:55:56 +0200 |
|---|---|---|
| committer | Jorropo <jorropo.pgm@gmail.com> | 2025-10-24 22:48:56 -0700 |
| commit | 643f80a11f76ada6323bdcbc36add24832f5821b (patch) | |
| tree | b053ebb1774e11c8311682406b0b76724db7c809 /src/runtime/panic32.go | |
| parent | 0afbeb510269dc4aaaff733166085eba42144712 (diff) | |
| download | go-643f80a11f76ada6323bdcbc36add24832f5821b.tar.xz | |
runtime: add ppc and s390 to 32 build constraints for gccgo
Theses are not supported by the go compiler but it may helps porting to gccgo.
I have no idea if this change is correct, but it is weird that
os_linux32.go and os_linux64.go should have ppc & s390 but not all other
files gated to 32bits in the same package.
Change-Id: I0bb70cdb88c19096386320d02d546942263e009d
Reviewed-on: https://go-review.googlesource.com/c/go/+/714082
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/runtime/panic32.go')
| -rw-r--r-- | src/runtime/panic32.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic32.go b/src/runtime/panic32.go index 9dd4c0eb2e..7abc9f595b 100644 --- a/src/runtime/panic32.go +++ b/src/runtime/panic32.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build 386 || arm || mips || mipsle +//go:build 386 || arm || mips || mipsle || (gccgo && (ppc || s390)) package runtime |
