Skip to content

x/tools/gopls: enable -mod=readonly in workspace module mode #43346

@findleyr

Description

@findleyr

When using multi-project gopls workspaces, invoking the go command with -mod=readonly fails because the go command wants to modify the synthetic versions we use in the workspace module's go.mod file.

We should tidy as part of constructing the workspace module.

CC @stamblerre @heschik

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions