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/ppc64le/1.23",
|
||||||
|
|
||||||
"linux/riscv64/1.23",
|
"linux/riscv64/tip",
|
||||||
|
|
||||||
"windows/amd64/1.23",
|
"windows/amd64/1.23",
|
||||||
"windows/amd64/tip",
|
"windows/amd64/tip",
|
||||||
|
@ -2,6 +2,7 @@ package goversion
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"runtime"
|
||||||
|
|
||||||
"github.com/go-delve/delve/pkg/logflags"
|
"github.com/go-delve/delve/pkg/logflags"
|
||||||
)
|
)
|
||||||
@ -24,6 +25,13 @@ func Compatible(producer string, warnonly bool) error {
|
|||||||
if ver.IsOldDevel() {
|
if ver.IsOldDevel() {
|
||||||
return nil
|
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 !ver.AfterOrEqual(GoVersion{MinSupportedVersionOfGoMajor, MinSupportedVersionOfGoMinor, betaRev(0), "", ""}) {
|
||||||
if warnonly {
|
if warnonly {
|
||||||
logflags.WriteError(fmt.Sprintf(goTooOldWarn, ver.String()))
|
logflags.WriteError(fmt.Sprintf(goTooOldWarn, ver.String()))
|
||||||
|
Loading…
Reference in New Issue
Block a user