Repository navigation
Fix the Android build on Swift 6.4 - #750
Merged
Merged
Conversation
|
Thank you for your pull request and welcome to the Skip community. We require contributors to sign our contributor license agreement (CLA), and we don't seem to have the user(s) @this-is-daniru on file. In order for us to review and merge your code, for each noted user please add your GitHub username to Skip's .clabot file |
this-is-daniru
force-pushed
the
fix/android-swift-6.4
branch
from
October 22, 2026 15:05
9e2e362 to
0c6ef4d
Compare
Contributor
|
Thanks for flagging, looking into it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Android build is broken on Swift 6.4 (SPI build): 6.4 started compiling SkipDrive for Android, and ToolSupport.swift hits
#error("Unsupported platform")there.SkipDrive only runs Gradle on the host, and the package already treats it as macOS/Catalyst/Linux-only (see the SkipTest condition in Package.swift and the guard in XCGradleHarness.swift). So rather than porting the posix_spawn code to Bionic, this just adds
!os(Android)to the existing#if !SKIPguards in SkipDrive and its tests.Checked with Swift 6.4.1:
swift build --swift-sdk swift-6.4.1-RELEASE_android --triple aarch64-unknown-linux-android28fails before and passes after (also with--build-tests), andswift teston macOS gives the same result as on main.Skip Pull Request Checklist:
swift testAI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.
Claude Code reproduced the failure, did the probes comparing the code to Bionic. I reviewed every changed line, chose the solution, ran the checks above