From 5cd016b587a2a90f2321af41122cc12b01b7f391 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 1 Oct 2025 20:35:54 +0200 Subject: [PATCH] radicle-systemd: Guard `mod listen` for Unix This crate does not build on Windows, because there is a Unix-only `use` in `mod listen`. To get the crate to build, guard the module appropriately. --- crates/radicle-systemd/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/radicle-systemd/src/lib.rs b/crates/radicle-systemd/src/lib.rs index 48ea1b2c..5901b89f 100644 --- a/crates/radicle-systemd/src/lib.rs +++ b/crates/radicle-systemd/src/lib.rs @@ -3,5 +3,5 @@ #[cfg(all(feature = "journal", target_os = "linux"))] pub mod journal; -#[cfg(feature = "listen")] +#[cfg(all(feature = "listen", unix))] pub mod listen;