Skip to content

[Embedded] Add ARMv5TE to list of recognized architectures#90023

Open
colemancda wants to merge 1 commit into
swiftlang:mainfrom
colemancda:feature/embedded-armv5te
Open

[Embedded] Add ARMv5TE to list of recognized architectures#90023
colemancda wants to merge 1 commit into
swiftlang:mainfrom
colemancda:feature/embedded-armv5te

Conversation

@colemancda

@colemancda colemancda commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Adds support for Swift Embedded ARMv5TE target (e.g. Nintendo DS). This adds ARMv5TE as a recognized embedded architecture and builds a stdlib module for it.
Since LLVM natively supports ARMv5TE, this is all that's needed to write Swift for the Nintendo DS. Right now this is needed for swift-embedded-nds, which is currently just compiling for Armv4 since its backwards compatible.

@colemancda colemancda requested a review from a team as a code owner June 17, 2026 15:43
@colemancda colemancda changed the title Support Embedded Swift for ARMv5TE [Embedded] Add ARMv5TE to list of recognized architectures Jun 17, 2026
@harlanhaskins harlanhaskins requested a review from kubamracek June 17, 2026 17:28
@harlanhaskins

harlanhaskins commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Part of me also wonders what the more substainable version of this is; I added armv4t exclusively for Game Boy Advance, and I think it's fine to add armv5te for NDS, but I feel like there's gotta be a better answer for esoteric architecture stdlibs without forcing the main toolchain to embed the additional modules. Maybe like a swift-toolchain-extras repo that contains more supported architectures you need to opt into via Package.swift.

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.

2 participants