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:
parent
fee3f537b4
commit
c51beb4342
2
src/cmd/dist/build.go
vendored
2
src/cmd/dist/build.go
vendored
@ -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,
|
||||
|
@ -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"}: {},
|
||||
|
Loading…
Reference in New Issue
Block a user