x/tools/gopls (and friends): separate -modfile and -mod out of build flags #41826
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
-modfile
and-mod
are passed to the Go command via BuildFlags, but the usage of these flags varies across the differentgo
subcommands -- they are not always needed/supported. We should refactor the goimports ProcessEnv, go/packages Config, and gocommand Invocation to have separate ModFile and Mod fields that aren't part of BuildFlags./cc @heschik
The text was updated successfully, but these errors were encountered: