-
Notifications
You must be signed in to change notification settings - Fork 386
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
base: main
Are you sure you want to change the base?
update go to 1.22 #3963
Conversation
@@ -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 |
There was a problem hiding this comment.
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.)
There was a problem hiding this comment.
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 <alex@earthly.dev>
No description provided.