Skip to content

Commit

Permalink
🚨 zb: Add a missing cfg condition
Browse files Browse the repository at this point in the history
  • Loading branch information
zeenix committed Apr 29, 2024
1 parent 7a2cbdc commit ac606b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zbus/src/connection/handshake/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Common {
}
}

#[cfg(feature = "p2p")]
#[cfg(all(unix, feature = "p2p"))]
pub fn socket(&self) -> &BoxedSplit {
&self.socket
}
Expand Down

0 comments on commit ac606b1

Please sign in to comment.