Home
last modified time | relevance | path

Searched refs:target_os (Results 1 – 25 of 31) sorted by relevance

12

/rust-libc-0.2.174/libc-test/test/
H A Dmakedev.rs5 target_os = "android",
6 target_os = "dragonfly",
7 target_os = "emscripten",
8 target_os = "freebsd",
9 target_os = "fuchsia",
10 target_os = "linux",
11 target_os = "netbsd",
12 target_os = "openbsd",
13 target_os = "cygwin",
19 if #[cfg(any(target_os = "solaris", target_os = "illumos"))] {
[all …]
H A Dsigrt.rs4 target_os = "linux",
5 target_os = "l4re",
6 target_os = "android",
7 target_os = "emscripten",
8 target_os = "solaris",
9 target_os = "illumos",
H A Dlinux_fcntl.rs5 #[cfg(any(target_os = "linux", target_os = "android"))]
8 #[cfg(not(any(target_os = "linux", target_os = "android")))]
H A Dlinux_strerror_r.rs5 #[cfg(any(target_os = "linux", target_os = "android"))]
8 #[cfg(not(any(target_os = "linux", target_os = "android")))]
H A Dlinux_if_arp.rs5 #[cfg(any(target_os = "linux", target_os = "android"))]
8 #[cfg(not(any(target_os = "linux", target_os = "android")))]
H A Dlinux_termios.rs5 #[cfg(any(target_os = "linux", target_os = "android"))]
8 #[cfg(not(any(target_os = "linux", target_os = "android")))]
H A Dlinux_ipv6.rs5 #[cfg(target_os = "linux")]
8 #[cfg(not(target_os = "linux"))]
H A Dlinux_elf.rs5 #[cfg(target_os = "linux")]
8 #[cfg(not(target_os = "linux"))]
H A Derrqueue.rs3 #[cfg(any(target_os = "linux", target_os = "android"))]
H A Dlinux_kernel_version.rs3 #[cfg(target_os = "linux")]
/rust-libc-0.2.174/src/unix/
H A Dmod.rs25 target_os = "espidf",
27 target_os = "vita"
229 if #[cfg(all(not(target_os = "nto"), not(target_os = "aix")))] {
344 if #[cfg(any(target_os = "nto", target_os = "aix"))] {
353 if #[cfg(any(target_os = "illumos", target_os = "solaris",))] {
774 any(target_os = "illumos", target_os = "solaris"),
825 any(target_os = "illumos", target_os = "solaris"),
840 any(target_os = "illumos", target_os = "solaris"),
1104 any(target_os = "illumos", target_os = "solaris"),
1353 any(target_os = "illumos", target_os = "solaris"),
[all …]
/rust-libc-0.2.174/src/unix/bsd/
H A Dmod.rs41 target_os = "macos",
42 target_os = "ios",
43 target_os = "tvos",
46 target_os = "netbsd",
47 target_os = "openbsd"
67 any(target_os = "freebsd", target_os = "dragonfly")
72 any(target_os = "freebsd", target_os = "dragonfly")
953 target_os = "ios",
954 target_os = "tvos",
960 } else if #[cfg(any(target_os = "openbsd", target_os = "netbsd"))] {
[all …]
/rust-libc-0.2.174/src/unix/newlib/
H A Dmod.rs9 if #[cfg(any(target_os = "espidf"))] {
37 if #[cfg(target_os = "horizon")] {
48 if #[cfg(target_os = "espidf")] {
58 target_os = "horizon",
92 #[cfg(target_os = "espidf")]
98 target_os = "espidf",
215 #[cfg(target_os = "espidf")]
217 #[cfg(target_os = "espidf")]
253 #[cfg(target_os = "espidf")]
255 #[cfg(target_os = "espidf")]
[all …]
H A Dgeneric.rs8 #[cfg(target_os = "horizon")]
10 #[cfg(not(target_os = "horizon"))]
/rust-libc-0.2.174/src/
H A Dlib.rs46 } else if #[cfg(target_os = "fuchsia")] {
54 } else if #[cfg(target_os = "switch")] {
62 } else if #[cfg(target_os = "psp")] {
70 } else if #[cfg(target_os = "vxworks")] {
78 } else if #[cfg(target_os = "solid_asp3")] {
94 } else if #[cfg(target_os = "hermit")] {
102 } else if #[cfg(target_os = "teeos")] {
110 } else if #[cfg(target_os = "trusty")] {
126 } else if #[cfg(any(target_env = "wasi", target_os = "wasi"))] {
134 } else if #[cfg(target_os = "xous")] {
H A Dprimitives.rs25 target_os = "macos",
26 target_os = "ios",
27 target_os = "tvos",
28 target_os = "watchos",
29 target_os = "visionos",
31 not(target_os = "vita"),
92 if #[cfg(all(target_arch = "aarch64", not(target_os = "windows")))] {
/rust-libc-0.2.174/src/unix/solarish/
H A Dx86_64.rs4 if #[cfg(target_os = "solaris")] {
57 #[cfg(target_os = "solaris")]
59 #[cfg(target_os = "solaris")]
85 #[cfg(target_os = "illumos")]
87 #[cfg(target_os = "illumos")]
89 #[cfg(target_os = "illumos")]
91 #[cfg(target_os = "solaris")]
93 #[cfg(target_os = "solaris")]
95 #[cfg(target_os = "solaris")]
H A Dcompat.rs41 #[cfg(target_os = "illumos")]
54 #[cfg(target_os = "illumos")]
128 #[cfg(target_os = "illumos")]
H A Dmod.rs246 #[cfg(target_os = "illumos")]
248 #[cfg(target_os = "illumos")]
250 #[cfg(target_os = "illumos")]
252 #[cfg(target_os = "illumos")]
2855 any(target_os = "solaris", target_os = "illumos"),
2871 any(target_os = "solaris", target_os = "illumos"),
2900 any(target_os = "solaris", target_os = "illumos"),
2911 any(target_os = "solaris", target_os = "illumos"),
2922 any(target_os = "solaris", target_os = "illumos"),
2927 any(target_os = "solaris", target_os = "illumos"),
[all …]
H A Dx86_common.rs30 if #[cfg(target_os = "illumos")] {
/rust-libc-0.2.174/
H A Dbuild.rs56 let target_os = env::var("CARGO_CFG_TARGET_OS").unwrap_or_default(); in main() localVariable
98 if musl_v1_2_3 || target_os == "loongarch64" || target_env == "ohos" { in main()
110 && target_os == "linux" in main()
267 let emcc = if cfg!(target_os = "windows") { in emcc_version_code()
/rust-libc-0.2.174/src/unix/linux_like/
H A Dmod.rs67 #[cfg(any(target_os = "linux", target_os = "emscripten"))]
72 #[cfg(target_os = "android")]
211 if #[cfg(not(target_os = "emscripten"))] {
281 not(target_os = "android")
571 if #[cfg(target_os = "android")] {
1025 target_os = "linux",
1548 if #[cfg(target_os = "emscripten")] {
2137 target_os = "emscripten"
2194 if #[cfg(target_os = "emscripten")] {
2197 } else if #[cfg(target_os = "linux")] {
[all …]
/rust-libc-0.2.174/src/unix/bsd/netbsdlike/
H A Dmod.rs82 #[cfg(target_os = "openbsd")]
84 #[cfg(target_os = "netbsd")]
86 #[cfg(target_os = "openbsd")]
88 #[cfg(target_os = "netbsd")]
685 #[cfg_attr(target_os = "netbsd", link_name = "__clock_getres50")]
687 #[cfg_attr(target_os = "netbsd", link_name = "__clock_gettime50")]
689 #[cfg_attr(target_os = "netbsd", link_name = "__clock_settime50")]
868 if #[cfg(target_os = "netbsd")] {
871 } else if #[cfg(target_os = "openbsd")] {
/rust-libc-0.2.174/tests/
H A Dconst_fn.rs1 #[cfg(target_os = "linux")]
/rust-libc-0.2.174/src/unix/linux_like/linux/uclibc/x86_64/
H A Dmod.rs41 #[cfg(not(target_os = "l4re"))]
349 if #[cfg(target_os = "l4re")] {

12