Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
systemd: Require Linux for journal module
✗ CI failure Yorgos Saslis committed 7 months ago
commit 9793b4e7b6b1d20711fd9aa088f0969bbe730463
parent e70850cb36c5f08d2d8714017d5404dde34deefa
1 passed 1 failed (2 total) View logs
2 files changed +3 -1
modified crates/radicle-systemd/Cargo.toml
@@ -10,6 +10,8 @@ rust-version.workspace = true

[dependencies]
log = { workspace = true, optional = true }
+

+
[target.'cfg(target_os = "linux")'.dependencies]
systemd-journal-logger = { version = "2.2.2", optional = true }

[features]
modified crates/radicle-systemd/src/lib.rs
@@ -1,6 +1,6 @@
//! Library for interaction with systemd, specialized for Radicle.

-
#[cfg(feature = "journal")]
+
#[cfg(all(feature = "journal", target_os = "linux"))]
pub mod journal;

#[cfg(feature = "listen")]