Skip to content

Conversation

@gogolok
Copy link
Contributor

@gogolok gogolok commented Feb 21, 2025

Summary

Simplify go:build constraints that include linux and darwin to unix. This can potentially also support freebsd in the future.

The constraint unix is available since Go 1.19: https://tip.golang.org/doc/go1.19#go-unix

Documentation

  • Should this change be documented?
    • Yes, see #___
    • No

Related

Similar change in lifecycle: buildpacks/lifecycle#1432

Signed-off-by: Robert Gogolok <robert.gogolok@stackit.cloud>
@gogolok gogolok requested review from a team as code owners February 21, 2025 19:29
@github-actions github-actions bot added this to the 0.37.0 milestone Feb 21, 2025
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label Feb 21, 2025
@jjbustamante jjbustamante merged commit 771ba38 into buildpacks:main Mar 1, 2025
16 checks passed
@gogolok gogolok deleted the go_build_unix branch March 4, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/enhancement Issue that requests a new feature or improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants