mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
go.mod: Use toolchain 1.22.4
Go since 1.21 allows to set a "toolchain" that specifies the minimum Go toolchain to use when working in runc. In contrast to the go line, toolchain does not impose a requirement on other modules[1][2]. As documented in the 1.2.0-rc.1 release notes, 1.22.4 is needed for the nsenter package. Let's suggest this with the toolchain version. [1]: https://go.dev/doc/toolchain [2]: https://go.dev/blog/toolchain Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
@@ -2,6 +2,11 @@ module github.com/opencontainers/runc
|
||||
|
||||
go 1.22
|
||||
|
||||
// Suggest toolchain 1.22.4 due to a fix in golang for libcontainer/nsenter/.
|
||||
// For more info, see: #4233
|
||||
// Note that toolchain does not impose a requirement on other modules using runc.
|
||||
toolchain go1.22.4
|
||||
|
||||
require (
|
||||
github.com/checkpoint-restore/go-criu/v6 v6.3.0
|
||||
github.com/cilium/ebpf v0.16.0
|
||||
|
||||
Reference in New Issue
Block a user