[Feature Request]: Add support for Android / Termux (X11 & Wayland) #61121
GourangaDasSamrat
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
What are you proposing?
I am proposing first-class (or even experimental) support for compiling and running Zed on Android / Termux environments using X11/Wayland backends.
Specifically, this means enabling Zed (and its underlying UI framework, GPUI) to compile successfully targeting
aarch64-linux-android(via standard X11 or Wayland display servers running on Android, likeTermux-X11).Why does this matter?
Are there any examples or context?
Possible approach
Based on the blockers identified by the Termux maintainers, a few key areas need to be addressed:
android(as Termux users run standard X11/Wayland servers on device).rustixorwayland-cursorwheretarget_os = "android"completely disables shared memory features (shm_open,shm_unlink). Since Android's Bionic libc restricts standard SHM, we need a fallback mechanism for the rendering loop.cranelift-codegenoraws-lc-sys) can compile successfully under the Android NDK toolchain without triggering compiler segfaults.Beta Was this translation helpful? Give feedback.
All reactions