-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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/cgo: recognize //go:export like //export #38785
Comments
I think you meant #37974? |
Thanks, fixed |
@rsc @griesemer Any concerns about handling Another option would be to migrate toward |
Setting Go1.15 milestone since this functionality is new in the 1.15 release. It can be done later, though. |
Wouldn't one want to see But assuming that excluding these comments in the documentation is ok, moving to |
Changing this into a cmd/cgo change to use //go:export. |
Change https://golang.org/cl/240777 mentions this issue: |
I filed #68061 as an umbrella proposal which contains this as a special case so I'm closing this issue for now. It may be repopened later if the proposal is rejected. |
Directives are excluded from extracted docs (#37974). In addition to comments matched by the
//[a-z0-9]+:[a-z0-9]
pattern, the//line
comment is excluded. Maybe the CGO //export comment should be excluded as well.The text was updated successfully, but these errors were encountered: