Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Building of Static Binaries With Go 1.20
Explicitly disable CGO when building binaries. As of Go 1.20, we get dynamic executables when using standard libary packages that have both cgo and pure Go implementations. Fixes errors in which release binaries may fail because the correct version of libc can't be linked at runtime. See golang/go#58550
- Loading branch information