zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.67k stars 2.92k forks source link

Zed remote server doesn't work on armv7l linux #19293

Open krifpvlic opened 5 days ago

krifpvlic commented 5 days ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When trying to create a dev server on a armv7l based linux ssh remote through zed, this error is shown

./zed-remote-server-stable: cannot execute binary file: Exec format error

Looking at the file, it seems like it's a aarch64 executable but the host is armv7l so that's probably why it's not running.

Environment

Host: Zed: v0.156.2 (Zed) OS: macOS 15.0.1 Memory: 16 GiB Architecture: aarch64

Remote: Linux 5.15.19-xilinx-v2022.1 #1 SMP PREEMPT Mon Apr 11 17:52:14 UTC 2022 armv7l armv7l armv7l GNU/Linux

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

notpeter commented 5 days ago

linux-armv7l is 32bit ARM. We do not currently ship 32bit binaries, so you will have to build from source. https://zed.dev/docs/development/linux

Screenshot 2024-10-16 at 12 22 17

We would be interested in potentially trying to build binaries via CI but given that there aren't native ARMv7 runners that would require qemu and/or cross compiling acrobatics.