x/tools/internal/imports: zstdlib.go fails to generate with Go 1.20 #58245
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Doing
go generate golang.org/x/tools/internal/imports
is fine with Go 1.19 and older, but fails when using Go 1.20:The error output shown above was using following patch; the real error output is more inscrutable without it.
The problem is that CL 453258 rewrote cmd/api to be a package rather than command, since it was more convenient for cmd/dist that way and cmd/api isn't really meant for external use.
It seems straightforward enough not to use of all cmd/api for the purposes of
imports
. I'll send a fix.CC @rfindley, @bradfitz.
The text was updated successfully, but these errors were encountered: