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.
This commit is contained in:
parent
0095fdc585
commit
5cd016b587
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue