Skip to content

fix: use armv7 for 32-bit ARM Android triples - #2028

Merged
keith merged 1 commit into
bazelbuild:mainfrom
AttilaTheFun:android-armv7-triple
Nov 18, 2026
Merged

keith merged 1 commit into
bazelbuild:mainfrom
AttilaTheFun:android-armv7-triple

Conversation

@AttilaTheFun

Copy link
Copy Markdown
Contributor

The NDK gives 32-bit ARM as arm (e.g. arm-unknown-linux-android21), but the Swift Android SDK keeps its modules under armv7, so any armv7 Swift target failed to find the stdlib. Android's lowest ARM target is v7 anyway, so normalize arm to armv7 for Android triples. Added a unit test.

The NDK calls 32-bit ARM `arm`, but the Swift Android SDK's modules live
under `armv7`, so armv7 targets couldn't find the stdlib.
@keith
keith enabled auto-merge (squash) November 18, 2026 23:48
@keith
keith merged commit 60d355a into bazelbuild:main Nov 18, 2026
18 checks passed
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.

3 participants