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.
ucred
1 parent d8c75d9 commit 79273faCopy full SHA for 79273fa
library/std/src/sys/unix/ext/net/ancillary.rs
@@ -10,7 +10,7 @@ use crate::slice::from_raw_parts;
10
use crate::sys::net::Socket;
11
12
// FIXME(#43348): Make libc adapt #[doc(cfg(...))] so we don't need these fake definitions here?
13
-#[cfg(not(unix))]
+#[cfg(all(doc, not(target_os = "linux"), not(target_os = "android")))]
14
#[allow(non_camel_case_types)]
15
mod libc {
16
pub use libc::c_int;
0 commit comments