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

go/build: Context.CgoEnabled comment meaning unclear #25953

willfaught opened this Issue Jun 19, 2018 · 1 comment


None yet
3 participants
Copy link

commented Jun 19, 2018

CgoEnabled bool // whether cgo can be used

It's unclear whether this means using a Context where CgoEnabled is false on a package that uses cgo would result in an error, or would omit all the files from go/build.Package.CgoFiles.

What version of Go are you using (go version)?

Does this issue reproduce with the latest release?



This comment has been minimized.

Copy link

commented Jul 31, 2018

Change mentions this issue: go/build: Context.CgoEnabled is better commented

@gopherbot gopherbot closed this in 6182d08 Dec 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.