Skip to content

Commit ef599f1

Browse files
relkochtagvisor-bot
authored andcommitted
Increase minimum Go version to 1.26.3
As part of supporting uid/gid-mapped mounts, we need (*Process).WithHandle, added in Go 1.26. We can bump the Go version now to catch any issues that may arise. PiperOrigin-RevId: 921600692
1 parent 85b606a commit ef599f1

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gvisor.dev/gvisor
22

3-
go 1.25.5
3+
go 1.26.3
44

55
require (
66
cloud.google.com/go/auth v0.20.0

tools/build_cover.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export GOMODCACHE GOCACHE
3333
# The gVisor code coverage implementation uses internal packages. More details
3434
# can be found here: https://github.com/golang/go/issues/76098.
3535

36-
go_version=1.25.5
36+
go_version=1.26.3
3737

3838
go_base_url="https://dl.google.com/go/go${go_version}"
3939
arch="$(uname -m)"

tools/go-allow-internal.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
2-
index 1f791546f9..809e5f142b 100644
2+
index e2a77d7..fec9756 100644
33
--- a/src/cmd/go/internal/load/pkg.go
44
+++ b/src/cmd/go/internal/load/pkg.go
5-
@@ -1464,6 +1464,7 @@ func reusePackage(p *Package, stk *ImportStack) *Package {
5+
@@ -1465,6 +1465,7 @@ func reusePackage(p *Package, stk *ImportStack) *Package {
66
// If the import is allowed, disallowInternal returns the original package p.
77
// If not, it returns a new package containing just an appropriate error.
8-
func disallowInternal(ctx context.Context, srcDir string, importer *Package, importerPath string, p *Package, stk *ImportStack) *PackageError {
8+
func disallowInternal(loaderstate *modload.State, ctx context.Context, srcDir string, importer *Package, importerPath string, p *Package, stk *ImportStack) *PackageError {
99
+ return nil
1010
// golang.org/s/go14internal:
1111
// An import of a path containing the element “internal”

0 commit comments

Comments
 (0)