apple / swift-nio-ssl

TLS Support for SwiftNIO, based on BoringSSL.
https://swiftpackageindex.com/apple/swift-nio-ssl/main/documentation/niossl
Apache License 2.0
393 stars 142 forks source link

Android: update Bionic declarations for nullability annotations added in NDK 26 #449

Closed finagolfin closed 12 months ago

finagolfin commented 1 year ago

Also, force unwrap an opendir() call that could be null.

This is needed because Bionic recently added a bunch of these annotations. I made sure this pull doesn't break anything by testing it on linux x86_64, and the force unwrap with the previous NDK 25c too. I used this patch with others to build the Swift toolchain and this package for my Android CI, finagolfin/swift-android-sdk#122.

Lukasa commented 12 months ago

@swift-server-bot add to allowlist