We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c231c commit 91ae811Copy full SHA for 91ae811
src/lib.rs
@@ -119,11 +119,8 @@ mod sockaddr;
119
mod socket;
120
mod sockref;
121
122
-#[cfg(unix)]
123
-#[path = "sys/unix.rs"]
124
-mod sys;
125
-#[cfg(windows)]
126
-#[path = "sys/windows.rs"]
+#[cfg_attr(unix, path = "sys/unix.rs")]
+#[cfg_attr(windows, path = "sys/windows.rs")]
127
mod sys;
128
129
#[cfg(not(any(windows, unix)))]
0 commit comments