--- crates/zed/src/zed.rs.orig 2026-09-30 14:36:45 UTC +++ crates/zed/src/zed.rs @@ -114,8 +114,10 @@ const MERCH_URL: &str = "https://merch.zed.dev/"; const STATUS_URL: &str = "https://status.zed.dev"; const MERCH_URL: &str = "https://merch.zed.dev/"; +#[cfg(not(target_os = "freebsd"))] pub struct CrashHandler(pub Arc); +#[cfg(not(target_os = "freebsd"))] impl gpui::Global for CrashHandler {} actions!( @@ -578,6 +580,7 @@ pub fn initialize_workspace(app_state: Arc, if let Some(specs) = window.gpu_specs() { log::info!("Using GPU: {:?}", specs); show_software_emulation_warning_if_needed(specs.clone(), window, cx); + #[cfg(not(target_os = "freebsd"))] if let Some(crash_client) = cx.try_global::() { crashes::set_gpu_info(&crash_client.0, specs); }