Skip to content

Commit

Permalink
libct/nsenter: allow go 1.23
Browse files Browse the repository at this point in the history
Go 1.23 has https://go-review.googlesource.com/c/go/+/587919
and runc works fine now.

Allow it.

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed May 30, 2024
1 parent 71ba0ec commit df7a657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcontainer/nsenter/nsenter_go122.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build go1.22
//go:build go1.22 && !go1.23

package nsenter

Expand All @@ -9,7 +9,7 @@ package nsenter
// have issues, but as this is just a hotfix let's only block glibc builds.
#include <features.h>
#ifdef __GLIBC__
# error "runc does not currently work properly with Go >=1.22. See <https://github.com/opencontainers/runc/issues/4233>."
# error "runc does not currently work properly with Go 1.22. See <https://github.com/opencontainers/runc/issues/4233>."
#endif
*/
import "C"

0 comments on commit df7a657

Please sign in to comment.