Feature Request
Is your feature request related to a problem? Please describe:
Trying to build tidb with Go 1.26 (rc2) fails with
panic: The hack package only supports go1.25, please confirm the correctness of the ABI before upgrading
Describe the feature you'd like:
Buildable with Go 1.26, eg in
Describe alternatives you've considered:
Pinning Go to 1.25 even after 1.26 is released.
Teachability, Documentation, Adoption, Migration Strategy:
It fails at check:
|
func checkMapABI() { |
|
if !strings.Contains(runtime.Version(), `go1.25`) { |
|
panic("The hack package only supports go1.25, please confirm the correctness of the ABI before upgrading") |
|
} |
|
} |
which was introduced in recent
Feature Request
Is your feature request related to a problem? Please describe:
Trying to build tidb with Go 1.26 (rc2) fails with
panic: The hack package only supports go1.25, please confirm the correctness of the ABI before upgradingDescribe the feature you'd like:
Buildable with Go 1.26, eg in
Describe alternatives you've considered:
Pinning Go to 1.25 even after 1.26 is released.
Teachability, Documentation, Adoption, Migration Strategy:
It fails at check:
tidb/pkg/util/hack/map_abi.go
Lines 409 to 413 in e9c1bbb
which was introduced in recent