Skip to content

Comment on the need for CGO_ENABLED=1 to support cross-compilation #3735

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

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

maru-ava
Copy link
Contributor

While ensuring testing of multi-arch image build for hypersdk, time was spent trying to figure out a cross-compilation error that turned out to be due to CGO_ENABLED=1 not being set. A literal reading of the comment removed in this PR did not suggest the importance of CGO_ENABLED=1 to cross-compilation. Accordingly, this PR adds a new comment indicating that CGO_ENABLED=1 is required when cross-compiling.

@maru-ava maru-ava self-assigned this Feb 21, 2025
@maru-ava maru-ava enabled auto-merge February 21, 2025 16:48
@maru-ava maru-ava added this pull request to the merge queue Feb 21, 2025
Merged via the queue into master with commit dd79669 Feb 21, 2025
22 checks passed
@maru-ava maru-ava deleted the fix-cgo-comment branch February 21, 2025 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants