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

Add Musl support for static cross compilation. #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zaneenders
Copy link

Motivation:

Provide a fix for Issue #170 as well as being able to use NIO SSH in projects that want to cross-compile to Linux.

Modifications:

Add import for Musl if available.

Result:

Cross-compiling to both x86_64 and aarch64 works.

Motivation:

Being able to use NIO SSH in projects that want to cross compile to Linux.

Modifications:

Add import for Musl if available.

Result:

Cross compiling to both x86_64 and aarch64 works.
@Lukasa Lukasa added the semver/minor Adds new public API. label Oct 1, 2024
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Thanks! ✨

@Lukasa Lukasa linked an issue Oct 1, 2024 that may be closed by this pull request
@Lukasa
Copy link
Contributor

Lukasa commented Oct 1, 2024

@swift-server-bot add to allowlist

@Lukasa Lukasa enabled auto-merge (squash) October 1, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to cross compiling against MUSL.
2 participants