From a70e4c6b30a7e313e128f611234d9353dc9687af Mon Sep 17 00:00:00 2001 From: Yara Date: Tue, 7 Apr 2026 13:33:46 +0200 Subject: [PATCH] fix build file on other platforms --- crates/zed/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/zed/build.rs b/crates/zed/build.rs index c741a974d7ab10e07b8245540ce71521ef114f09..6e285bd6f94eef3bf1fe069524cf0233fb70c376 100644 --- a/crates/zed/build.rs +++ b/crates/zed/build.rs @@ -243,6 +243,7 @@ fn icon_path() -> &'static Path { Path::new(icon) } +#[cfg(any(target_os = "linux", target_os = "freebsd"))] fn prepare_app_icon_x11() { use image::{DynamicImage, ImageReader, ImageResult, imageops}; use std::env;