Hacker News new | past | comments | ask | show | jobs | submit login

Go binaries are often not truly standalone. You can certainly make static Go binaries that don't use cgo, but you can't then use standard libraries which rely on it.



I believe that if you use MUSL for libc, you can statically link libc into the binary. That should make the standard library all statically linkable, I'm not aware of any other C dependencies (although I could very well be wrong).




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

Search: