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

update go to 1.22 #3963

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

update go to 1.22 #3963

wants to merge 8 commits into from

Conversation

alexcb
Copy link
Collaborator

@alexcb alexcb commented Apr 1, 2024

No description provided.

@@ -305,7 +305,7 @@ lint-changelog:
# debugger builds the earthly debugger and saves the artifact in build/earth_debugger
debugger:
FROM +code
ENV CGO_ENABLED=0
ENV CGO_ENABLED=1
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the 1.22 Release notes:

go build commands that invoke the linker now error out if an external (C) linker will be used but cgo is not enabled. (The Go runtime requires cgo support to ensure that it is compatible with any additional libraries added by the C linker.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because we make use of -linkmode external

Signed-off-by: Alex Couture-Beil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant