-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
FrozenDueToAgeGoCommandcmd/gocmd/goNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
We know the standard library will not have dependencies on other modules, so in this example it shouldn't matter that Go 1.15 cannot find io/fs:
% cd /Users/rsc/src/golang.org/x/tools
% go mod tidy
% go1.16 mod tidy
% go1.15 mod tidy
golang.org/x/tools/cmd/present imports
embed: package embed is not in GOROOT (/Users/rsc/sdk/go1.15/src/embed)
golang.org/x/tools/cmd/present imports
io/fs: package io/fs is not in GOROOT (/Users/rsc/sdk/go1.15/src/io/fs)
golang.org/x/tools/go/analysis/passes/buildtag imports
go/build/constraint: package go/build/constraint is not in GOROOT (/Users/rsc/sdk/go1.15/src/go/build/constraint)
%
That is, go1.15 mod tidy should work.
And we should think about backporting this change.
tmthrgd, johejo, zikaeroh, aldas, FiloSottile and 5 moreuhthomas and earthboundkid
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeGoCommandcmd/gocmd/goNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.