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: |
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: