-
Notifications
You must be signed in to change notification settings - Fork 976
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
Why use cgo? #348
Comments
If you remove cgo, can we compile the code successfully? |
@siddontang |
Can you send me a PR to remove them? |
Any reason to add "C" here? |
Sure. I'd like to wait one or two days if @michael2008 could reply. |
Hi @Ryan-Git , I checked and I think it's a mistake. The import "C" came from nowhere since I did not add it explicitly. Probably it was automatically imported by the IDE. Anyway, my PR should be pure go code and cgo is not needed. You can remove it. |
we can't cross-compile recently and find cgo is introduced by #312, but I can't find any ref from or to C, what is it used for?
The text was updated successfully, but these errors were encountered: