Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: use clock_gettime on Android #629

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

compnerd
Copy link
Member

Android recommends clock_gettime over timespec_get which is available at Level 29 and newer. This is needed to build swift-testing for Android.

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@grynspan @stmontgomery - I think that we should pull this into release/6.0 as well - this is required to build for Android. swift-testing being included in the toolchain means that we cannot actually build for android with this :(.

@grynspan grynspan added bug Something isn't working swift-6.1 android 🤖 Android support labels Aug 21, 2024
Android recommends `clock_gettime` over `timespec_get` which is
available at Level 29 and newer. This is needed to build swift-testing
for Android.
@grynspan
Copy link
Contributor

@swift-ci test

@compnerd compnerd merged commit 3fc7f59 into swiftlang:main-next Aug 21, 2024
3 checks passed
@compnerd compnerd deleted the android-time branch August 21, 2024 16:15
@grynspan grynspan added this to the Swift 6.1 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android 🤖 Android support bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants