-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Platform: correct posix_spawn API nullability
#85223
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
Conversation
|
@swift-ci please smoke test |
|
Looks good (as discussed). Please update @finagolfin @marcprux FYI. |
|
@swift-ci please smoke test |
|
@swift-ci please build toolchain Windows platform |
The `posix_spawn` API is not annotated appropriately for nullability. Adjust the signature to allow proper usage with older NDKs.
Adjust the API annotations to get this imported into Swift properly. The outer pointer may be `nullptr`, but the inner pointer may not.
|
@swift-ci please build toolchain Windows platform |
|
@swift-ci please smoke test |
|
@swift-ci please smoke test macOS platform |
|
@swift-ci please smoke test Windows platform |
|
I don't think we should support older NDKs that didn't have these annotations, but as long as this won't break anything in the current LTS NDK 27, don't see a problem with it. |
|
@finagolfin this is fixing things in r27d as well. I don't think that we should be supporting the non-LTS NDKs as we don't have enough engineering resources to ensure that everything works that broadly. |
The
posix_spawnAPI is not annotated appropriately for nullability. Adjust the signature to allow proper usage with older NDKs.