Skip to content

Accommodate Android, where posix_spawnattr_t and posix_spawn_file_actions_t are opaque pointers#523

Merged
jakepetroules merged 1 commit into
swiftlang:mainfrom
jakepetroules:eng/PR-android
Oct 25, 2025
Merged

Accommodate Android, where posix_spawnattr_t and posix_spawn_file_actions_t are opaque pointers#523
jakepetroules merged 1 commit into
swiftlang:mainfrom
jakepetroules:eng/PR-android

Conversation

@jakepetroules

Copy link
Copy Markdown
Contributor

This is needed to compile on the Android platform.

…ions_t are opaque pointers

This is needed to compile on the Android platform.
@jakepetroules

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@finagolfin

Copy link
Copy Markdown
Member

We currently match the Termux app headers instead, since this repo will mostly only be used for a native toolchain on Android. That app uses a backported posix_spawn that hasn't been updated in awhile, hence the disparity. I will update that backport then we can get this in to match.

@marcprux marcprux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. It build for me with swift build --swift-sdk aarch64-unknown-linux-android28.

@owenv owenv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Test failures look to me like a DocC bug

@jakepetroules

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@jakepetroules jakepetroules enabled auto-merge (rebase) October 24, 2025 21:41
@jakepetroules jakepetroules merged commit 847c107 into swiftlang:main Oct 25, 2025
3 checks passed
@jakepetroules jakepetroules deleted the eng/PR-android branch October 25, 2025 05:13
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.

5 participants