4 ms·
You do have to wonder why nobody thought ‘this is getting a bit crazy’ before though.
by Aeolun 7y ago
You do have to wonder why nobody thought ‘this is getting a bit crazy’ before though.
- tptacek 7y agoYou do?
- Aeolun 7y agoIt is known. I guess I could have written: I think someone should have wondered whether this was actually a reasonable way to make a statically linked binary before. Maybe if you’ve gotten used to invoking the magic it doesn’t seem quite so arcane anymore.
- hundt 7y agoFWIW if you don't need cgo then CGO_ENABLED=0 is sufficient to get a static binary. The tricky part is getting a static binary while also embedding C libraries. That's what the github issue is about.
- Lammy 7y agoTry the pronoun form of "one"