Skip to content

Conversation

colemancda
Copy link

Motivation

The current codebase is not buildable on Android since Bionic is not imported to provide the pthread APIs.

Modifications

  • Lock.swift: import Bionic

Result

Successfully compiles for Android.

Tested with Skip Tools: skip android build

Test Plan

Compile for Android with the toolchain of your choosing.

@gjcairo gjcairo added the 🆕 semver/minor Adds new public API. label Jul 14, 2025
@gjcairo
Copy link

gjcairo commented Jul 14, 2025

Asking because I'm not sure what the right path forward is here: we have #70 which aims to also add Android support, but using if os(Android) instead. What do we prefer?

@guoye-zhang
Copy link
Contributor

This was already fixed in #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants