go/src/cmd/cgo
Austin Clements 804850d87b cmd/cgo/internal/testcarchive: build on all platforms
This test package uses syscall.SIGSEGV and syscall.SIGPIPE, which are
defined on most, but not all platforms. Normally this test runs as
part of dist test, which only registers this test on platforms that
support c-archive build mode, which includes all platforms that define
these signals. But this doesn't help if you're just trying to type
check everything in cmd.

Add build constraints so that this package type checks on all
platforms.

Fixes #60164.
Updates #37486.

Change-Id: Id3f9ad4cc9f80146de16aedcf85d108a77215ae6
Reviewed-on: https://go-review.googlesource.com/c/go/+/494659
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Auto-Submit: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-12 19:43:58 +00:00
..
internal cmd/cgo/internal/testcarchive: build on all platforms 2023-05-12 19:43:58 +00:00
ast.go cmd/cgo: reject attempts to declare methods on C types 2023-05-02 12:55:28 +00:00
ast_go1.go cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
ast_go118.go cmd/cgo: walk {FuncType,TypeSpec}.TypeParams fields 2022-11-30 21:45:10 +00:00
doc.go misc/cgo: move easy tests to cmd/cgo/internal 2023-05-12 11:59:56 +00:00
gcc.go all: add missing periods in comments 2022-11-18 17:59:44 +00:00
godefs.go cmd/cgo: use strings.Builder 2022-09-08 14:33:35 +00:00
main.go cmd/go, cmd/cgo: support older versions of gccgo that lack cgo.Incomplete 2022-10-29 00:40:18 +00:00
out.go cmd/go, cmd/cgo: support older versions of gccgo that lack cgo.Incomplete 2022-10-29 00:40:18 +00:00
util.go cmd/cgo: delete unused code 2022-09-29 09:05:04 +00:00