UPDATE: lang/go > 1.22.1

This commit is contained in:
purplerain 2024-03-24 02:13:10 +00:00
parent fe0c7238a7
commit 3b2a1bcc45
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
76 changed files with 1152 additions and 7534 deletions

View file

@ -1,29 +1,23 @@
Index: src/cmd/dist/build.go
--- src/cmd/dist/build.go.orig
+++ src/cmd/dist/build.go
@@ -577,8 +577,7 @@ func mustLinkExternal(goos, goarch string, cgoEnabled
if cgoEnabled {
switch goarch {
case "loong64",
- "mips", "mipsle", "mips64", "mips64le",
- "riscv64":
+ "mips", "mipsle", "mips64", "mips64le":
// Internally linking cgo is incomplete on some architectures.
// https://golang.org/issue/14449
return true
@@ -1732,6 +1731,7 @@ var cgoEnabled = map[string]bool{
@@ -1729,7 +1729,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,
@@ -1749,7 +1749,6 @@ var cgoEnabled = map[string]bool{
@@ -1745,9 +1745,7 @@ var cgoEnabled = map[string]bool{
// get filtered out of cgoEnabled for 'dist list'.
// See go.dev/issue/56679.
var broken = map[string]bool{
"linux/sparc64": true, // An incomplete port. See CL 132155.
"openbsd/ppc64": true, // An incomplete port: go.dev/issue/56001.
- "openbsd/mips64": true, // Broken: go.dev/issue/58110.
- "linux/sparc64": true, // An incomplete port. See CL 132155.
- "openbsd/mips64": true, // Broken: go.dev/issue/58110.
- "openbsd/riscv64": true, // An incomplete port: go.dev/issue/55999.
+ "linux/sparc64": true, // An incomplete port. See CL 132155.
}
// List of platforms which are first class ports. See go.dev/issue/38874.