You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:
gopherjs/build/build.go
Line 46 in 05b9d70
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.
The text was updated successfully, but these errors were encountered: