Add a check that the generated code is available for all GOARCH listed in go tool dist list.
This test must be in a _test.go file, not in the code generators, as the aim is to be able to detect failures with past or future Go toolchains.
$ go version
go version go1.24.0 darwin/arm64
$ go tool dist list | sed 's!.*/!!' | sort -u
386
amd64
arm
arm64
loong64
mips
mips64
mips64le
mipsle
ppc64
ppc64le
riscv64
s390x
wasm
Add a check that the generated code is available for all GOARCH listed in
go tool dist list.This test must be in a
_test.gofile, not in the code generators, as the aim is to be able to detect failures with past or future Go toolchains.