Skip to content

Android CI builds shouldn't link the stdlib statically - #3739

Merged
czechboy0 merged 2 commits into
mainfrom
hd-android-dynamic-stdlib
Sep 9, 2026
Merged

czechboy0 merged 2 commits into
mainfrom
hd-android-dynamic-stdlib

Conversation

@czechboy0

Copy link
Copy Markdown
Contributor

Motivation:

We started seeing issues in Swift Log with building for Android when using types from the Concurrency module.

Folks from the Android workgroup suggested we don't build with static stdlib, and I confirmed that removing it fixes the issue: https://github.com/apple/swift-log/actions/runs/34365246956/job/102512196662?pr=509

Modifications:

Links the stdlib dynamically (default) for Android.

Result:

Unblock Swift Log's CI. This topic can be further discussed in the ongoing GitHub Actions unification.

@czechboy0

Copy link
Copy Markdown
Contributor Author

I'll let the Android job pass first and then I'll back out the branch override before merging.

@czechboy0 czechboy0 added the semver/none No version bump required. label Sep 9, 2026
@czechboy0

Copy link
Copy Markdown
Contributor Author

Ok the passing job when the branch is overriden is here: https://github.com/apple/swift-nio/actions/runs/34365847573/job/102514275466?pr=3739

Undoing the branch override now.

@simonjbeaumont simonjbeaumont changed the title Android builds shouldn't link the stdlib statically Android CI builds shouldn't link the stdlib statically Sep 9, 2026
@czechboy0
czechboy0 enabled auto-merge (squash) September 9, 2026 14:56
@czechboy0
czechboy0 merged commit 8c063f0 into main Sep 9, 2026
56 of 58 checks passed
@czechboy0
czechboy0 deleted the hd-android-dynamic-stdlib branch September 9, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants