cmd/api: add API checks for freebsd/riscv64

The freebsd/riscv64 port was added in go1.20, make cmd/api aware of it and
backfill API files.

For #58582

Change-Id: I242b161cdb6221c8f60a1868c6435be26fca0078
Reviewed-on: https://go-review.googlesource.com/c/go/+/469135
Run-TryBot: Dmitri Goutnik <dgoutnik@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
changes/35/469135/3
Dmitri Goutnik 2023-02-17 11:44:16 -05:00 committed by Gopher Robot
parent 37e893b1bd
commit 209df389c2
2 changed files with 8724 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -69,6 +69,8 @@ var contexts = []*build.Context{
{GOOS: "freebsd", GOARCH: "arm"},
{GOOS: "freebsd", GOARCH: "arm64", CgoEnabled: true},
{GOOS: "freebsd", GOARCH: "arm64"},
{GOOS: "freebsd", GOARCH: "riscv64", CgoEnabled: true},
{GOOS: "freebsd", GOARCH: "riscv64"},
{GOOS: "netbsd", GOARCH: "386", CgoEnabled: true},
{GOOS: "netbsd", GOARCH: "386"},
{GOOS: "netbsd", GOARCH: "amd64", CgoEnabled: true},