From ac606b149d8b7bef3eb03a136edd3cb3452d4602 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Mon, 29 Apr 2024 13:04:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20zb:=20Add=20a=20missing=20cfg=20?= =?UTF-8?q?condition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zbus/src/connection/handshake/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zbus/src/connection/handshake/common.rs b/zbus/src/connection/handshake/common.rs index 3cce99ade..ec3c35b6c 100644 --- a/zbus/src/connection/handshake/common.rs +++ b/zbus/src/connection/handshake/common.rs @@ -27,7 +27,7 @@ impl Common { } } - #[cfg(feature = "p2p")] + #[cfg(all(unix, feature = "p2p"))] pub fn socket(&self) -> &BoxedSplit { &self.socket }