-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[stdlib] Changes to support Foundation on OpenBSD. #38341
Conversation
* Not implementing POSIXError for a given platform is not a blocking problem to getting a successful build of Swift. However, it is part of the validation tests (albeit locked behind REQUIRES) and is referenced when building Foundation. Implement by forklifting from `sys/errno.h`. * Some Foundation class implementations require some missing includes in the platform modulemap. Add these.
@compnerd do you mind reviewing and merging if you approve, or in the alternative, tagging someone who would be best suited to do so? |
ping. |
ping |
@spevans, would you review? |
@swift-ci test |
Anything else left to be done here to merge? |
ping |
I think there might be a crunch for the upcoming Swift 5.5 and iPhone 13 releases, so we may have to wait a bit. |
@kubamracek, mind getting this in? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it really makes sense to have mount
as a separate module, but the module definition doesn't need to be cleaned up as part of this change.
@swift-ci please smoke test and merge |
Yeah, we'll look at moving towards the single-header module outside this pr. |
This migrates OpenBSD to use the single-header Glibc modulemap proposed and implemented in swiftlang#32404, and necessitates introducing some missing headers for building Foundation added in swiftlang#38341. Additionally, incorporate nullability annotations in SwiftShims per
This migrates OpenBSD to use the single-header Glibc modulemap proposed and implemented in swiftlang#32404, and necessitates introducing some missing headers for building Foundation added in swiftlang#38341. Additionally, incorporate nullability annotations in SwiftShims per
Not implementing POSIXError for a given platform is not a blocking
problem to getting a successful build of Swift. However, it is
part of the validation tests (albeit locked behind REQUIRES) and is
referenced when building Foundation. Implement by forklifting from
sys/errno.h
.Some Foundation class implementations require some missing includes in
the platform modulemap. Add these.