HomeFreeBSD

editors/zed: Fix WASM extension host panic on FreeBSD ("unsupported os")

Description

editors/zed: Fix WASM extension host panic on FreeBSD ("unsupported os")

Zed's WASM extension host panics with "unsupported os" on FreeBSD when
any Rust-based extension (Typst, LaTeX, HTML, typos, etc.) loads. The
panic occurs at
crates/extension_host/src/wasm_host/wit/since_v0_8_0.rs:840 where
current_platform() only handles macOS, Linux, and Windows.

The patch maps FreeBSD to the Linux OS variant and seems to solve the
issue, allowing the user to install the extensions for Typst, LaTex,
and typos.

PR: 293816
Reported by: John Holloway <mail@jholloway.dev>
Pull Request: https://github.com/tagattie/FreeBSD-Zed/pull/3

Details

Provenance
John Holloway <mail@jholloway.dev>Authored on Sun, Mar 15, 3:47 AM
tagattieCommitted on Sun, Mar 15, 3:47 AM
Parents
R11:1beebb1e27b5: security/bitwarden-cli: Update to 2026.2.0
Branches
Unknown
Tags
Unknown