diff --git a/core/lib/src/listener/addr.rs b/core/lib/src/listener/addr.rs index 106f4df336..42db558d39 100644 --- a/core/lib/src/listener/addr.rs +++ b/core/lib/src/listener/addr.rs @@ -121,6 +121,7 @@ impl From for ListenerAddr { } } +#[cfg(unix)] impl TryFrom for ListenerAddr { type Error = std::io::Error;