-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/go: can't build plugin package when module is named plugin
#58321
Labels
Comments
seankhliao
changed the title
affected/package: plugin, can't build with go workspaces
plugin: can't build with go workspaces
Feb 4, 2023
gopherbot
added
the
compiler/runtime
Issues related to the Go compiler and/or runtime.
label
Feb 4, 2023
The problem is the module path: Go 1.20 at least gives a somewhat more helpful error message:
|
bcmills
added
GoCommand
cmd/go
and removed
compiler/runtime
Issues related to the Go compiler and/or runtime.
labels
Feb 6, 2023
bcmills
changed the title
plugin: can't build with go workspaces
cmd/go: can't build plugin package when module is named Feb 6, 2023
plugin
Duplicate of #39285 |
Duplicate of #35270 |
@bcmills called it! Thank you very much. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
/
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Successfully built plugin.
What did you see instead?
Complaints about having one main package:
The text was updated successfully, but these errors were encountered: