5 ms·
Building go on the target architecture defaults on a dependency on libpthreads for DNS resolutions. Passing either CGO_ENABLED=0 or -tags netgo fix this. It's
by pgCKIN 5y ago
Building go on the target architecture defaults on a dependency on libpthreads for DNS resolutions.
Passing either CGO_ENABLED=0 or -tags netgo fix this.
It's unclear to me how and when spawning a thread per resolution is preferrable to the netgo behavoir.