diff options
Diffstat (limited to 'vendor/rustix/src/backend/libc/mod.rs')
-rw-r--r-- | vendor/rustix/src/backend/libc/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vendor/rustix/src/backend/libc/mod.rs b/vendor/rustix/src/backend/libc/mod.rs index 70029282f..1961d1291 100644 --- a/vendor/rustix/src/backend/libc/mod.rs +++ b/vendor/rustix/src/backend/libc/mod.rs @@ -49,11 +49,8 @@ pub(crate) mod fd { // On Windows we emulate selected libc-compatible interfaces. On non-Windows, // we just use libc here, since this is the libc backend. -#[cfg(windows)] -#[path = "winsock_c.rs"] +#[cfg_attr(windows, path = "winsock_c.rs")] pub(crate) mod c; -#[cfg(not(windows))] -pub(crate) use libc as c; #[cfg(not(windows))] #[cfg(feature = "fs")] |