Skip to content

Conversation

@finagolfin
Copy link
Contributor

Motivation:

Get this Swift file building for Android.

Modifications:

Use an OpaquePointer for FILE* on Android.

Result:

This file builds and all the tests pass on Android.

This change is needed because of aosp-mirror/platform_bionic@3037ea4, as noted on the similar pull swiftlang/swift-tools-support-core#243.

An earlier unconditionally-compiled version of this patch got this package cross-compiled for Android, finagolfin/swift-android-sdk#11, and all the tests passing in the Android emulator, so that I can add it to my daily Android CI next. I also built it on linux to make sure it didn't break anything there.

Motivation:

Get this Swift file building for Android.

Modifications:

Use an OpaquePointer for FILE* on Android.

Result:

This file builds and all the tests pass on Android.
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Jul 22, 2021
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 this fix!

@Lukasa
Copy link
Contributor

Lukasa commented Jul 22, 2021

@swift-nio-bot test this please

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