parent
2a9af735d0
commit
1748f5f3d1
2
.teamcity/settings.kts
vendored
2
.teamcity/settings.kts
vendored
@ -53,7 +53,7 @@ val targets = arrayOf(
|
||||
|
||||
"linux/ppc64le/1.23",
|
||||
|
||||
"linux/riscv64/1.23",
|
||||
"linux/riscv64/tip",
|
||||
|
||||
"windows/amd64/1.23",
|
||||
"windows/amd64/tip",
|
||||
|
@ -2,6 +2,7 @@ package goversion
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
|
||||
"github.com/go-delve/delve/pkg/logflags"
|
||||
)
|
||||
@ -24,6 +25,13 @@ func Compatible(producer string, warnonly bool) error {
|
||||
if ver.IsOldDevel() {
|
||||
return nil
|
||||
}
|
||||
if runtime.GOARCH == "riscv64" && !ver.AfterOrEqual(GoVersion{1, 24, versionedDevel, "", ""}) {
|
||||
if warnonly {
|
||||
logflags.WriteError(fmt.Sprintf(goTooOldWarn, ver.String()))
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf(goTooOldErr, ver.String())
|
||||
}
|
||||
if !ver.AfterOrEqual(GoVersion{MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor, betaRev(0), "", ""}) {
|
||||
if warnonly {
|
||||
logflags.WriteError(fmt.Sprintf(goTooOldWarn, ver.String()))
|
||||
|
Loading…
Reference in New Issue
Block a user