Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Building of Static Binaries With Go 1.20 #661

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

cwarden
Copy link
Member

@cwarden cwarden commented Apr 19, 2023

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

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
@cwarden cwarden merged commit aec6154 into ForceCLI:master Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant