Skip to content

Commit 319e133

Browse files
committed
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 <[email protected]>
1 parent 1590491 commit 319e133

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ module github.com/opencontainers/runc
22

33
go 1.22
44

5+
// Suggest toolchain 1.22.4 due to a fix in golang for libcontainer/nsenter/.
6+
// For more info, see: #4233
7+
// Note that toolchain does not impose a requirement on other modules using runc.
8+
toolchain go1.22.4
9+
510
require (
611
github.com/checkpoint-restore/go-criu/v6 v6.3.0
712
github.com/cilium/ebpf v0.16.0

0 commit comments

Comments
 (0)