Skip to content

Conversation

@jrflat
Copy link
Contributor

@jrflat jrflat commented Jul 28, 2025

Check #if __has_include(<linux/io_uring.h>) and if not (such as when building with the static Linux SDK), provide the missing definitions.

Verified on a Swift 6.2 Ubuntu 22.04 image that System now builds with --swift-sdk swift-6.2-DEVELOPMENT-SNAPSHOT-2025-07-26-a_static-linux-0.0.1 (previously failed with the 'linux/io_uring.h' file not found error shown in the issue).

Resolves #240

@jrflat
Copy link
Contributor Author

jrflat commented Jul 28, 2025

@swift-ci please test

@jrflat jrflat requested review from Catfish-Man and removed request for glessard, lorentey and milseman July 28, 2025 18:16
Copy link
Member

@Catfish-Man Catfish-Man left a comment

Choose a reason for hiding this comment

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

lgtm, thank you!

@jrflat jrflat merged commit a067a07 into apple:main Jul 28, 2025
23 checks passed
@glessard glessard mentioned this pull request Jul 30, 2025
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.

'linux/io_uring.h' file not found

2 participants