Zed running on FreeBSD! #10247
Replies: 8 comments
-
Can you share your impressions? Is it ready for work at current state? |
Beta Was this translation helpful? Give feedback.
-
It would be great FreeBSD ready source code and binary releases. |
Beta Was this translation helpful? Give feedback.
-
I tried to compile it on FreeBSD 14.1, replaced as you asked "Replaced every #[cfg(target_os = "linux")] with #[cfg(any(target_os = "linux", target_os = "freebsd"))]". But I get a lot of these errors: use of undeclared crate or module You can see the entire error here: https://pastebin.com/Wnj6vCA3 |
Beta Was this translation helpful? Give feedback.
-
Can you please elaborate? Provide patches? |
Beta Was this translation helpful? Give feedback.
-
Well, I haven't followed up after the post, so I can't say anything right now. |
Beta Was this translation helpful? Give feedback.
-
Please keep us posted, would be great to have an official freebsd release! |
Beta Was this translation helpful? Give feedback.
-
#20480 |
Beta Was this translation helpful? Give feedback.
-
Zed runs on FreeBSD, with small modifications!
Here's what I did:
#[cfg(target_os = "linux")]
with#[cfg(any(target_os = "linux", target_os = "freebsd"))]
(I found them ongpui
andblade-graphics
)ipc-channel
for FreeBSD libc (I don't know anything about libc, so I just followed hints which Cargo provided)-C link-dead-code
toRUSTFLAGS
I'm not a developer or anything like that and I just did it out of curiosity, but I hope this helps other *BSD users to run Zed on their system, or Zed developers to support more platforms!
Beta Was this translation helpful? Give feedback.
All reactions