Skip to content

feat: ship Windows-on-ARM, Raspberry Pi and Termux builds - #1

Merged
ShortArrow merged 1 commit into
mainfrom
feat/arm-android-targets
Jul 27, 2026
Merged

feat: ship Windows-on-ARM, Raspberry Pi and Termux builds#1
ShortArrow merged 1 commit into
mainfrom
feat/arm-android-targets

Conversation

@ShortArrow

Copy link
Copy Markdown
Owner

Adds three distribution targets:

  • aarch64-pc-windows-msvc (Windows on ARM) — native build on windows-11-arm
  • aarch64-unknown-linux-gnu (Raspberry Pi class, 64-bit) — native build on ubuntu-24.04-arm
  • aarch64-linux-android (Termux) — NDK cross build

Both ARM runners also join the CI and release test matrices, so those platforms run the full suite natively before anything ships.

Android has no backend for rfd/open; they move behind cfg(not(target_os = "android")) and degrade gracefully: the folder picker answers "cancelled", reveal answers 501, and startup prints the serving URL (trying termux-open-url first). A new CI job cargo-checks the Android target on every push.

This PR exists to validate the ARM runners and the Android cross-compile in CI before merging (neither can be exercised locally).

Windows arm64 and Linux aarch64 build natively on GitHub's free arm64
runners (windows-11-arm / ubuntu-24.04-arm), which also join the test
matrices so those platforms run the full suite before anything ships.
Android (Termux) is the one cross build, linked with the NDK's clang; rfd
and open have no Android backend, so they move behind a
cfg(not(target_os = "android")) dependency and the three call sites
degrade gracefully there: the folder picker answers "cancelled", reveal
answers 501, and startup prints the URL (trying termux-open-url first).
A CI job cargo-checks the Android target on every push so a tag never
discovers the breakage.
@ShortArrow
ShortArrow merged commit d3ef29b into main Jul 27, 2026
9 checks passed
@ShortArrow
ShortArrow deleted the feat/arm-android-targets branch July 27, 2026 03:05
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.

1 participant