1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
// You can't generate those with macros just yet, so copypasting is the way for now.
#[cfg_attr( // uds_ucred template
feature = "doc_cfg",
doc(cfg(any(
all(
target_os = "linux",
any(
target_env = "gnu",
target_env = "musl",
target_env = "musleabi",
target_env = "musleabihf"
)
),
target_os = "emscripten",
target_os = "redox"
)))
)]
#[cfg_attr( // uds_linux_namespace template
feature = "doc_cfg",
doc(cfg(any(target_os = "linux", target_os = "android")))
)]
#[cfg_attr( // uds_peercred template
feature = "doc_cfg",
doc(cfg(any(
all(
target_os = "linux",
any(
target_env = "gnu",
target_env = "musl",
target_env = "musleabi",
target_env = "musleabihf"
)
),
target_os = "emscripten",
target_os = "redox",
target_os = "haiku"
)))
)]
#[cfg_attr( // any(se_sigpoll, se_sigpoll_is_sigio) template
feature = "doc_cfg",
doc(cfg(any(
target_os = "linux",
target_os = "android",
target_os = "emscripten",
target_os = "redox",
target_os = "haiku",
target_os = "solaris",
target_os = "illumos"
)))
)]
#[cfg_attr( // se_full_posix_1990/se_base_posix_2001 template
feature = "doc_cfg",
doc(cfg(not(target_os = "hermit"))),
)]
*/