This PR adds initial FreeBSD support for building Zed:
* Adds `script/freebsd` to install required dependencies on FreeBSD
* Adds `docs/freebsd.md` with build instructions and notes
* ⚠️ Mentions that `webrtc` is still **work-in-progress** on FreeBSD.
Related to : #15309
I’m currently working at discussions :
[Discussions](https://github.com/zed-industries/zed/discussions/29550)
Release Notes:
- N/A
---------
Co-authored-by: Peter Tripp <peter@zed.dev>
@@ -0,0 +1,30 @@
+# Building Zed for FreeBSD
+
+Note, FreeBSD is not currently a supported platform, and so this is a work-in-progress.
+
+## Repository
+
+Clone the [Zed repository](https://github.com/zed-industries/zed).
+
+## Dependencies
+
+- Install the necessary system packages and rustup:
+
+ ```sh
+ script/freebsd
+ ```
+
+ If preferred, you can inspect [`script/freebsd`](https://github.com/zed-industries/zed/blob/main/script/freebsd) and perform the steps manually.
+
+---
+
+### ⚠️ WebRTC Notice
+
+Currently, building `webrtc-sys` on FreeBSD fails due to missing upstream support and unavailable prebuilt binaries.
+This is actively being worked on.
+
+More progress and discussion can be found in [Zed’s GitHub Discussions](https://github.com/zed-industries/zed/discussions/29550).
+
+_Environment:
+FreeBSD 14.2-RELEASE
+Architecture: amd64 (x86_64)_
@@ -45,6 +45,10 @@ Zed requires a Vulkan 1.3 driver, and the following desktop portals:
Not yet available as an official download. Can be built [from source](./development/windows.md).
+## FreeBSD
+
+Not yet available as an official download. Can be built [from source](./development/freebsd.md).
+
## Web
Not supported at this time. See our [Platform Support issue](https://github.com/zed-industries/zed/issues/5391).