• Home
  • Raw
  • Download

Lines Matching refs:target_os

122         #[cfg(any(target_env = "musl", target_os = "emscripten"))]
128 #[cfg(target_os = "android")]
130 #[cfg(not(target_os = "android"))]
215 if #[cfg(not(target_os = "redox"))] {
230 if #[cfg(not(any(target_os = "haiku", target_os = "illumos",
231 target_os = "solaris")))] {
265 if #[cfg(not(target_os = "haiku"))] {
300 if #[cfg(target_os = "l4re")] {
305 } else if #[cfg(all(target_os = "linux",
338 } else if #[cfg(target_os = "emscripten")] {
341 } else if #[cfg(all(target_os = "netbsd",
349 } else if #[cfg(any(target_os = "macos",
350 target_os = "ios",
351 target_os = "android",
352 target_os = "openbsd"))] {
356 } else if #[cfg(target_os = "haiku")] {
364 } else if #[cfg(target_os = "hermit")] {
373 } else if #[cfg(target_os = "redox")] {
435 all(target_os = "macos", target_arch = "x86"),
440 all(target_os = "macos", target_arch = "x86"),
460 all(target_os = "macos", target_arch = "x86"),
468 all(target_os = "macos", target_arch = "x86"),
475 #[cfg_attr(target_os = "netbsd", link_name = "__fgetpos50")]
477 #[cfg_attr(target_os = "netbsd", link_name = "__fsetpos50")]
485 all(target_os = "macos", target_arch = "x86"),
500 all(target_os = "macos", target_arch = "x86"),
526 all(target_os = "macos", target_arch = "x86"),
545 #[cfg_attr(target_os = "netbsd", link_name = "__getpwnam50")]
547 #[cfg_attr(target_os = "netbsd", link_name = "__getpwuid50")]
555 all(target_os = "linux", not(target_env = "uclibc")),
560 all(target_os = "linux", not(target_env = "uclibc")),
565 all(target_os = "linux", not(target_env = "uclibc")),
577 #[cfg_attr(target_os = "netbsd", link_name = "__socket30")]
578 #[cfg_attr(target_os = "illumos", link_name = "__xnet_socket")]
586 all(target_os = "macos", target_arch = "x86"),
589 #[cfg_attr(target_os = "illumos", link_name = "__xnet_connect")]
592 all(target_os = "macos", target_arch = "x86"),
602 all(target_os = "macos", target_arch = "x86"),
612 all(target_os = "macos", target_arch = "x86"),
626 all(target_os = "macos", target_arch = "x86"),
642 all(target_os = "macos", target_arch = "x86"),
645 #[cfg_attr(target_os = "illumos", link_name = "__xnet_socketpair")]
658 all(target_os = "macos", target_arch = "x86"),
661 #[cfg_attr(target_os = "illumos", link_name = "__xnet_sendto")]
673 all(target_os = "macos", target_arch = "x86"),
678 all(target_os = "macos", target_arch = "x86"),
684 all(target_os = "macos", not(target_arch = "aarch64")),
687 #[cfg_attr(target_os = "netbsd", link_name = "__fstat50")]
689 all(target_os = "freebsd", any(freebsd11, freebsd10)),
697 all(target_os = "macos", not(target_arch = "aarch64")),
700 #[cfg_attr(target_os = "netbsd", link_name = "__stat50")]
702 all(target_os = "freebsd", any(freebsd11, freebsd10)),
709 all(target_os = "macos", target_arch = "x86"),
716 all(target_os = "macos", target_arch = "x86"),
721 all(target_os = "macos", target_arch = "x86"),
726 all(target_os = "macos", target_arch = "x86"),
732 all(target_os = "macos", target_arch = "x86_64"),
736 all(target_os = "macos", target_arch = "x86"),
739 #[cfg_attr(target_os = "netbsd", link_name = "__opendir30")]
743 all(target_os = "macos", not(target_arch = "aarch64")),
746 #[cfg_attr(target_os = "netbsd", link_name = "__readdir30")]
748 all(target_os = "freebsd", any(freebsd11, freebsd10)),
753 all(target_os = "macos", target_arch = "x86"),
758 all(target_os = "macos", target_arch = "x86_64"),
762 all(target_os = "macos", target_arch = "x86"),
782 all(target_os = "macos", not(target_arch = "aarch64")),
786 all(target_os = "freebsd", any(freebsd11, freebsd10)),
821 all(target_os = "macos", target_arch = "x86"),
826 all(target_os = "macos", target_arch = "x86"),
830 all(target_os = "macos", target_arch = "x86_64"),
853 #[cfg_attr(target_os = "illumos", link_name = "getloginx")]
856 all(target_os = "macos", target_arch = "x86"),
872 all(target_os = "macos", target_arch = "x86"),
884 all(target_os = "macos", target_arch = "x86"),
889 all(target_os = "macos", target_arch = "x86"),
892 #[cfg_attr(target_os = "netbsd", link_name = "__nanosleep50")]
898 all(target_os = "macos", target_arch = "x86"),
901 #[cfg_attr(target_os = "illumos", link_name = "__posix_ttyname_r")]
905 all(target_os = "macos", target_arch = "x86"),
910 all(target_os = "macos", target_arch = "x86"),
915 all(target_os = "macos", target_arch = "x86"),
920 all(target_os = "macos", target_arch = "x86"),
925 all(target_os = "macos", target_arch = "x86"),
931 #[cfg_attr(target_os = "netbsd", link_name = "__utime50")]
935 all(target_os = "macos", target_arch = "x86"),
940 all(target_os = "macos", target_arch = "x86"),
951 all(target_os = "macos", target_arch = "x86"),
963 all(target_os = "macos", target_arch = "x86"),
972 all(target_os = "macos", not(target_arch = "aarch64")),
975 #[cfg_attr(target_os = "netbsd", link_name = "__lstat50")]
977 all(target_os = "freebsd", any(freebsd11, freebsd10)),
983 all(target_os = "macos", target_arch = "x86"),
989 all(target_os = "macos", target_arch = "x86"),
994 all(target_os = "macos", target_arch = "x86"),
997 #[cfg_attr(target_os = "netbsd", link_name = "__unsetenv13")]
1006 #[cfg_attr(target_os = "netbsd", link_name = "__getrusage50")]
1010 any(target_os = "macos", target_os = "ios"),
1017 #[cfg_attr(target_os = "netbsd", link_name = "__times13")]
1022 all(target_os = "macos", target_arch = "x86"),
1032 #[cfg_attr(target_os = "netbsd", link_name = "__libc_thr_yield")]
1052 all(target_os = "macos", target_arch = "x86"),
1059 all(target_os = "macos", target_arch = "x86"),
1065 all(target_os = "macos", target_arch = "x86"),
1070 all(target_os = "macos", target_arch = "x86"),
1084 all(target_os = "macos", target_arch = "x86"),
1092 all(target_os = "macos", target_arch = "x86"),
1097 all(target_os = "macos", target_arch = "x86"),
1102 all(target_os = "macos", target_arch = "x86"),
1107 all(target_os = "macos", target_arch = "x86"),
1112 all(target_os = "macos", target_arch = "x86"),
1117 all(target_os = "macos", target_arch = "x86"),
1124 #[cfg_attr(target_os = "illumos", link_name = "__xnet_getsockopt")]
1133 #[cfg_attr(target_os = "netbsd", link_name = "__sigaction14")]
1136 #[cfg_attr(target_os = "netbsd", link_name = "__utimes50")]
1149 #[cfg_attr(target_os = "illumos", link_name = "__xnet_getaddrinfo")]
1165 all(target_os = "linux", not(target_env = "musl")),
1166 target_os = "freebsd",
1167 target_os = "dragonfly",
1168 target_os = "haiku"
1172 #[cfg_attr(any(target_os = "macos", target_os = "ios"), link_name = "res_9_init")]
1175 #[cfg_attr(target_os = "netbsd", link_name = "__gmtime_r50")]
1179 #[cfg_attr(target_os = "netbsd", link_name = "__localtime_r50")]
1184 all(target_os = "macos", target_arch = "x86"),
1187 #[cfg_attr(target_os = "netbsd", link_name = "__mktime50")]
1191 #[cfg_attr(target_os = "netbsd", link_name = "__time50")]
1195 #[cfg_attr(target_os = "netbsd", link_name = "__gmtime50")]
1199 #[cfg_attr(target_os = "netbsd", link_name = "__locatime50")]
1203 #[cfg_attr(target_os = "netbsd", link_name = "__difftime50")]
1207 #[cfg_attr(target_os = "netbsd", link_name = "__timegm50")]
1212 #[cfg_attr(target_os = "netbsd", link_name = "__mknod50")]
1214 all(target_os = "freebsd", any(freebsd11, freebsd10)),
1228 all(target_os = "macos", target_arch = "x86"),
1233 all(target_os = "macos", target_arch = "x86"),
1238 all(target_os = "macos", target_arch = "x86"),
1243 all(target_os = "macos", target_arch = "x86"),
1246 #[cfg_attr(target_os = "netbsd", link_name = "__putenv50")]
1249 all(target_os = "macos", target_arch = "x86"),
1254 all(target_os = "macos", target_arch = "x86_64"),
1258 all(target_os = "macos", target_arch = "x86"),
1261 #[cfg_attr(target_os = "netbsd", link_name = "__select50")]
1269 #[cfg_attr(target_os = "netbsd", link_name = "__setlocale50")]
1274 all(target_os = "macos", target_arch = "x86"),
1285 #[cfg_attr(target_os = "netbsd", link_name = "__sigemptyset14")]
1287 #[cfg_attr(target_os = "netbsd", link_name = "__sigaddset14")]
1289 #[cfg_attr(target_os = "netbsd", link_name = "__sigfillset14")]
1291 #[cfg_attr(target_os = "netbsd", link_name = "__sigdelset14")]
1293 #[cfg_attr(target_os = "netbsd", link_name = "__sigismember14")]
1296 #[cfg_attr(target_os = "netbsd", link_name = "__sigprocmask14")]
1298 #[cfg_attr(target_os = "netbsd", link_name = "__sigpending14")]
1306 all(target_os = "macos", target_arch = "x86_64"),
1310 all(target_os = "macos", target_arch = "x86"),
1313 #[cfg_attr(target_os = "netbsd", link_name = "__pselect50")]
1325 all(target_os = "macos", target_arch = "x86"),
1347 #[cfg_attr(target_os = "macos", link_name = "syslog$DARWIN_EXTSN")]
1350 all(target_os = "macos", target_arch = "x86"),
1378 if #[cfg(not(target_os = "redox"))] {
1382 #[cfg_attr(all(target_os = "macos", target_arch = "x86"),
1395 #[cfg_attr(all(target_os = "macos", target_arch = "x86_64"),
1397 #[cfg_attr(all(target_os = "macos", target_arch = "x86"),
1401 #[cfg_attr(all(target_os = "macos", not(target_arch = "aarch64")),
1403 #[cfg_attr(target_os = "netbsd", link_name = "__readdir_r30")]
1405 all(target_os = "freebsd", any(freebsd11, freebsd10)),
1422 if #[cfg(not(any(target_os = "solaris", target_os = "illumos")))] {
1435 } else if #[cfg(any(target_os = "linux",
1436 target_os = "l4re",
1437 target_os = "android",
1438 target_os = "emscripten"))] {
1441 } else if #[cfg(any(target_os = "macos",
1442 target_os = "ios",
1443 target_os = "freebsd",
1444 target_os = "dragonfly",
1445 target_os = "openbsd",
1446 target_os = "netbsd"))] {
1449 } else if #[cfg(any(target_os = "solaris",
1450 target_os = "illumos"))] {
1453 } else if #[cfg(target_os = "haiku")] {
1456 } else if #[cfg(target_os = "hermit")] {
1459 } else if #[cfg(target_os = "redox")] {