Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can definitely use CGO and still build statically, but you do need to set ldflags to include -static.




You can even cross-compile doing that.

Yes, indeed, I do.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: