Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: investigate better support for CGO_ENABLED=0 #65758

Open
findleyr opened this issue Feb 16, 2024 · 0 comments
Open

x/tools/gopls: investigate better support for CGO_ENABLED=0 #65758

findleyr opened this issue Feb 16, 2024 · 0 comments
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@findleyr
Copy link
Contributor

This is a speculative issue: we may be able to improve support for working with CGO_ENABLED=0 (or GOOS=..., as is set automatically by the solution to #29202).

For example, we could investigate using https://pkg.go.dev/go/types#Config.FakeImportC. I don't yet know if this is feasible, but it could make gopls more usable in scenarios where a c toolchain is unavailable, or prohibitively slow.

@findleyr findleyr added this to the gopls/v0.16.0 milestone Feb 16, 2024
@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Feb 16, 2024
@findleyr findleyr modified the milestones: gopls/v0.16.0, gopls/v0.17.0 Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

2 participants