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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/*
// 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(
target_os = "linux",
target_os = "redox",
target_os = "android",
target_os = "fuchsia",
)))
)]
#[cfg_attr( // uds_cmsgcred template
feature = "doc_cfg",
doc(cfg(any(
target_os = "freebsd",
target_os = "dragonfly",
)))
)]
#[cfg_attr( // uds_credentials template
feature = "doc_cfg",
doc(cfg(any(
target_os = "linux",
target_os = "redox",
target_os = "android",
target_os = "fuchsia",
target_os = "freebsd",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "openbsd",
target_os = "netbsd",
target_os = "dragonfly",
target_os = "macos",
target_os = "ios",
target_os = "tvos",
target_os = "watchos",
)))
)]
#[cfg_attr( // uds_ancillary_credentials template
feature = "doc_cfg",
doc(cfg(any(
target_os = "linux",
target_os = "redox",
target_os = "android",
target_os = "fuchsia",
target_os = "freebsd",
target_os = "dragonfly",
)))
)]
#[cfg_attr( // uds_cont_credentials template
feature = "doc_cfg",
doc(cfg(any(
target_os = "linux",
target_os = "redox",
target_os = "android",
target_os = "fuchsia",
target_os = "freebsd",
)))
)]
#[cfg_attr( // uds_sockcred template
feature = "doc_cfg",
doc(cfg(target_os = "netbsd"))
)]
#[cfg_attr( // uds_sockcred2 template
feature = "doc_cfg",
doc(cfg(target_os = "freebsd"))
)]
#[cfg_attr( // uds_linux_namespace template
feature = "doc_cfg",
doc(cfg(any(target_os = "linux", target_os = "android")))
)]
*/