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

[stdlib] Changes to support Foundation on OpenBSD. #38341

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

3405691582
Copy link
Contributor

  • 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.

* 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.
@3405691582
Copy link
Contributor Author

@compnerd do you mind reviewing and merging if you approve, or in the alternative, tagging someone who would be best suited to do so?

@3405691582
Copy link
Contributor Author

ping.

@3405691582
Copy link
Contributor Author

ping

@finagolfin
Copy link
Member

@spevans, would you review?

@spevans
Copy link
Contributor

spevans commented Aug 13, 2021

@swift-ci test

@3405691582
Copy link
Contributor Author

Anything else left to be done here to merge?

@3405691582
Copy link
Contributor Author

ping

@finagolfin
Copy link
Member

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.

@finagolfin
Copy link
Member

@kubamracek, mind getting this in?

@kubamracek
Copy link
Contributor

I'm not the right person to review this... :/ I don't see anything wrong here, but I think we should try to get feedback from @compnerd and/or @gottesmm

Copy link
Member

@compnerd compnerd left a 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.

@compnerd
Copy link
Member

@swift-ci please smoke test and merge

@3405691582
Copy link
Contributor Author

Yeah, we'll look at moving towards the single-header module outside this pr.

@swift-ci swift-ci merged commit a77f161 into swiftlang:main Dec 13, 2021
3405691582 added a commit to 3405691582/swift that referenced this pull request Feb 11, 2022
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
finagolfin pushed a commit to finagolfin/swift that referenced this pull request Feb 22, 2022
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
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.

6 participants