Skip to content

Cgo support (lack thereof) is not documented. #515

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

Closed
dmitshur opened this issue Sep 11, 2016 · 0 comments
Closed

Cgo support (lack thereof) is not documented. #515

dmitshur opened this issue Sep 11, 2016 · 0 comments

Comments

@dmitshur
Copy link
Member

This is purely a documentation issue.

As far as I can tell, looking at the README, wiki and compatibility table, the fact that the GopherJS compiler does not support cgo is not documented anywhere.

The compiler/build tool do try to detect when "C" is imported (i.e., when people try to use cgo) and do throw an error message:

That's good, but doesn't replace the need to actually document the fact.

I've noticed this issue after seeing the question come up here, and I couldn't find any documentation to refer people to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant