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

feat: cross-compile static musl binaries for swift #424

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

strophy
Copy link
Collaborator

@strophy strophy commented Jan 17, 2025

This PR enables arm64 builds for Swift, based on the new Swift SDK available with Swift 6.

It would save more space to build dynamically-linked binaries, particularly because an entire Swift runtime is necessary too, meaning we have two copies of the runtime and libraries in the final image.

@strophy strophy requested a review from rvolosatovs as a code owner January 17, 2025 21:52
@strophy
Copy link
Collaborator Author

strophy commented Jan 17, 2025

See #425 for a possible alternate solution

@strophy strophy merged commit 7a05ac5 into main Jan 22, 2025
1 check passed
@strophy strophy deleted the swift-arm-cross branch January 22, 2025 09:39
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.

2 participants