Skip to content

Better arm-targets flags#191

Merged
adamgreig merged 2 commits into
rust-embedded:mainfrom
thejpster:more-arm-targets-flags
Jun 22, 2026
Merged

Better arm-targets flags#191
adamgreig merged 2 commits into
rust-embedded:mainfrom
thejpster:more-arm-targets-flags

Conversation

@thejpster

Copy link
Copy Markdown
Contributor

Adds some new cfg flags to arm-targets, to say "This architecture, or older" or "This architecture, or higher"

Saves application writers from having to construct convoluted conditionals to say things like "v5te, or v6, or v7-a, or v7-r, or v8-r". How they can express that as cfg(armv5te_or_higher).

Lets you say "I want Armv5TE or higher", or "I want Armv6 or lower"
when conditionally compiling code.
@adamgreig adamgreig added this pull request to the merge queue Jun 22, 2026
@adamgreig

Copy link
Copy Markdown
Member

Nice idea!

Merged via the queue into rust-embedded:main with commit 6d45f61 Jun 22, 2026
52 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.

2 participants