apple / swift-nio-ssh

SwiftNIO SSH is a programmatic implementation of SSH using SwiftNIO
Apache License 2.0
406 stars 50 forks source link

Add Musl support for static cross compilation. #171

Open zaneenders opened 1 month ago

zaneenders commented 1 month ago

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.

Lukasa commented 1 month ago

@swift-server-bot add to allowlist