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;