-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed as not planned
Labels
LanguageProposalIssues describing a requested change to the Go language specification.Issues describing a requested change to the Go language specification.Proposal
Milestone
Description
Proposal Details
It would be beneficial if there was some way for a package to "advertise" that the package REQUIRES cgo.
Perhaps a pseudo require in the go.mod file.
And following from that, if CGO is not enabled when building and the go.mod file states that CGO is required, it doesn't build: Even if the !cgo build constraints suggest it should build.
Metadata
Metadata
Assignees
Labels
LanguageProposalIssues describing a requested change to the Go language specification.Issues describing a requested change to the Go language specification.Proposal