mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
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
13 lines
762 B
Diff
13 lines
762 B
Diff
diff --git a/src/cmd/go/internal/load/pkg.go b/src/cmd/go/internal/load/pkg.go
|
|
index e2a77d7..fec9756 100644
|
|
--- a/src/cmd/go/internal/load/pkg.go
|
|
+++ b/src/cmd/go/internal/load/pkg.go
|
|
@@ -1465,6 +1465,7 @@ func reusePackage(p *Package, stk *ImportStack) *Package {
|
|
// If the import is allowed, disallowInternal returns the original package p.
|
|
// If not, it returns a new package containing just an appropriate error.
|
|
func disallowInternal(loaderstate *modload.State, ctx context.Context, srcDir string, importer *Package, importerPath string, p *Package, stk *ImportStack) *PackageError {
|
|
+ return nil
|
|
// golang.org/s/go14internal:
|
|
// An import of a path containing the element “internal”
|
|
// is disallowed if the importing code is outside the tree
|