Skip to content

Makes NIOCore target compile on FreeBSD#3587

Merged
Lukasa merged 7 commits into
apple:mainfrom
rafaelcepeda:freebsd-support
May 11, 2026
Merged

Makes NIOCore target compile on FreeBSD#3587
Lukasa merged 7 commits into
apple:mainfrom
rafaelcepeda:freebsd-support

Conversation

@rafaelcepeda

Copy link
Copy Markdown
Contributor

This PR is a step towards having full support for FreeBSD in SwiftNIO. It builds on #3494 to enable full compilation of the NIOCore target.

Motivation:

Currently, SwiftNIO doesn't not compile on FreeBSD. This PR ensures that at least the NIOCore module compiles correctly on FreeBSD.

Modifications:

  • Make swift build --target NIOCore work on FreeBSD.

Result:

Using the available Swift FreeBSD x86_64 toolchain, it is now possible to run swift build --target NIOCore successfully.

@rafaelcepeda rafaelcepeda added the 🔨 semver/patch No public API change. label May 11, 2026
Comment thread Sources/CNIOFreeBSD/shim.c
@rafaelcepeda
rafaelcepeda requested a review from Lukasa May 11, 2026 18:12
@Lukasa
Lukasa merged commit ad37b30 into apple:main May 11, 2026
52 of 54 checks passed
@rafaelcepeda
rafaelcepeda deleted the freebsd-support branch May 11, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants