Skip to content

Conversation

@finagolfin
Copy link
Contributor

Motivation:

Fix build for the latest LTS NDK 26

Modifications:

  • Update C declarations
  • Add force unwraps where needed

Result:

Everything works on Android with NDK 26b

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

…annotations

Motivation:

Fix build for the latest LTS NDK 26

Modifications:

- Update C declarations
- Add force unwraps where needed

Result:

Everything works on Android with NDK 26b
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup!

@Lukasa Lukasa merged commit 4223cb3 into apple:main Nov 27, 2023
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Nov 27, 2023
@finagolfin finagolfin deleted the droid branch November 27, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants