1
0
mirror of https://github.com/golang/go synced 2024-11-17 12:44:49 -07:00

cmd/dist,internal/platform,runtime: add cgo support for openbsd/riscv64 port

Updates #55999

Change-Id: Ie9a030130713f3eaf789b91d9033be3335eb9d75
Reviewed-on: https://go-review.googlesource.com/c/go/+/518630
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: Joel Sing <joel@sing.id.au>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
Joel Sing 2022-09-18 02:37:36 +10:00
parent fee3f537b4
commit c51beb4342
2 changed files with 2 additions and 2 deletions

View File

@ -1744,7 +1744,7 @@ var cgoEnabled = map[string]bool{
"openbsd/arm64": true,
"openbsd/mips64": true,
"openbsd/ppc64": false,
"openbsd/riscv64": false,
"openbsd/riscv64": true,
"plan9/386": false,
"plan9/amd64": false,
"plan9/arm": false,

View File

@ -103,7 +103,7 @@ var distInfo = map[OSArch]osArchInfo{
{"openbsd", "arm64"}: {CgoSupported: true},
{"openbsd", "mips64"}: {CgoSupported: true, Broken: true},
{"openbsd", "ppc64"}: {},
{"openbsd", "riscv64"}: {},
{"openbsd", "riscv64"}: {CgoSupported: true},
{"plan9", "386"}: {},
{"plan9", "amd64"}: {},
{"plan9", "arm"}: {},