Skip to content

Disable clipboard on Android to fix a compile error - #1324

Open
Nikitf777 wants to merge 1 commit into
1jehuang:masterfrom
Nikitf777:android-disable-arboard
Open

Nikitf777 wants to merge 1 commit into
1jehuang:masterfrom
Nikitf777:android-disable-arboard

Conversation

@Nikitf777

Copy link
Copy Markdown

The arboard dependency prevents this project from compiling for Android (e.g. in Termux). This PR disables this dependency and all the related functionality (clipboard support) when compiling for Android.
Tested on my own Android device in Termux.

@Nikitf777
Nikitf777 force-pushed the android-disable-arboard branch from b4b33c1 to 301e8eb Compare September 19, 2026 15:27
The `arboard` dependency prevents this project from compiling for Android (e.g. in Termux). This commit disables this dependency and all the related functionality (clipboard support) when compiling for Android.
@Nikitf777
Nikitf777 force-pushed the android-disable-arboard branch from 301e8eb to 6d6224a Compare September 19, 2026 15:29
@greptile-apps

greptile-apps Bot commented Sep 19, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

Safe to merge: Android dependency resolution no longer includes arboard, and the supported host build compiles successfully.

What we checked:

  • Compared Android dependency resolution before and after this change; the pre-change revision resolves arboard 3.6.1 while the PR revision resolves no arboard package for Android. T-Rex
  • Attempted narrow Android compilation on both revisions; both attempts halted at the same missing Android NDK compiler before reaching the changed crate. T-Rex
  • Completed the jcode-tui host compilation without default features. T-Rex
  • Captured the before/after Android resolution states; pre-capture shows arboard 3.6.1 resolved and post-capture shows the PR's Android-resolved arboard set is empty. T-Rex
  • Both narrow Android checks stop at the same unavailable NDK compiler, so the changed fallback paths could not be compiled for Android in this environment. T-Rex

Summary

No blocking issues were identified.

The change removes arboard from Android dependency resolution while preserving its use on supported platforms. Host compilation completed successfully.

T-Rex validation blocked

  • Full Android compilation could not proceed because the environment lacks aarch64-linux-android-clang, which is required before compilation reaches jcode-tui.

Reviews (1) · Last reviewed commit: "Disable clipboard on Android to fix a co..."

@github-actions github-actions Bot added the area: tui Terminal user interface, rendering, and interactions. label Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tui Terminal user interface, rendering, and interactions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant