You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since go 1.21, if you set go version in go mod to 1.21 or above, all projects that depend on this must also use that version or above, and cannot compile on old go.
I found that the 18ebb97 commit simply promoted the go version without using the features that depended on go 1.21 (I didn't double check, but unsafe.Slice exists in go 1.18 and everything compiles.). If you could consider lowering this configuration to 1.20, it would be more friendly to projects that rely on this library.
The text was updated successfully, but these errors were encountered:
The etcd project aims to maintain a development branch that is on the latest Go version, ideally this will align with the Go version in use for Kubernetes project development.
Since go 1.21, if you set go version in go mod to 1.21 or above, all projects that depend on this must also use that version or above, and cannot compile on old go.
I found that the 18ebb97 commit simply promoted the go version without using the features that depended on go 1.21 (I didn't double check, but unsafe.Slice exists in go 1.18 and everything compiles.). If you could consider lowering this configuration to 1.20, it would be more friendly to projects that rely on this library.
The text was updated successfully, but these errors were encountered: