Lines Matching +full:rust +full:- +full:timerfd
64 t if t.contains("nto-qnx") => return test_neutrino(t), in do_ctest()
69 fn ctest_cfg() -> ctest::TestGenerator { in ctest_cfg()
97 // `libc-test/semver` dir. in do_semver()
111 let os_arch = format!("{}-{}", os, arch); in do_semver()
114 let os_env = format!("{}-{}", os, target_env); in do_semver()
117 let os_env_arch = format!("{}-{}-{}", os, target_env, arch); in do_semver()
127 println!("cargo:rerun-if-changed={}", path.display()); in process_semver_file()
188 cfg.flag("-Wno-deprecated-declarations"); in test_apple()
213 "mach-o/dyld.h", in test_apple()
338 // FIXME: the value has been changed since Catalina (0xffff0000 -> 0x3fff0000). in test_apple()
350 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_apple()
356 // FIXME: std removed libresolv support: https://github.com/rust-lang/rust/pull/102766 in test_apple()
374 // FIXME: the array size has been changed since macOS 10.15 ([8] -> [7]). in test_apple()
377 // MAXPATHLEN is too big for auto-derive traits on arrays. in test_apple()
444 cfg.flag("-Wno-deprecated-declarations"); in test_openbsd()
559 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_openbsd()
563 // https://marc.info/?l=openbsd-cvs&m=154723400730318 in test_openbsd()
566 // futex() has volatile arguments, but that doesn't exist in Rust. in test_openbsd()
573 // https://marc.info/?l=openbsd-cvs&m=170239504300386 in test_openbsd()
715 // FIXME: newer windows-gnu environment on CI? in test_windows()
730 // windows-isms in test_windows()
741 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_windows()
755 cfg.flag("-Wno-deprecated-declarations"); in test_redox()
806 // While debugging, "CFLAGS=-ferror-limit=<large num>" is useful to get more error output. in test_solarish()
808 cfg.flag("-Wno-deprecated-declarations"); in test_solarish()
911 // rust struct uses raw u64, rather than union in test_solarish()
913 // rust struct was committed with typo for Solaris in test_solarish()
943 // explicitly support it. (A no-op is an acceptable implementation of EPOLLEXCLUSIVE.) in test_solarish()
960 // a bunch of solaris-only fields in test_solarish()
989 // `uc_filler` fields to use for brand-specific state. in test_solarish()
1001 // const-ness only added recently in test_solarish()
1018 // const-ness issues in test_solarish()
1021 // Solaris-different in test_solarish()
1027 // non-prefixed implementations in libc. in test_solarish()
1055 cfg.flag("-Wno-deprecated-declarations"); in test_netbsd()
1227 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_netbsd()
1232 "getrlimit" | "getrlimit64" | // non-int in 1st arg in test_netbsd()
1233 "setrlimit" | "setrlimit64" | // non-int in 1st arg in test_netbsd()
1234 "prlimit" | "prlimit64" | // non-int in 2nd arg in test_netbsd()
1247 // aio_buf is "volatile void*" and Rust doesn't understand volatile in test_netbsd()
1268 cfg.flag("-Wno-deprecated-declarations"); in test_dragonflybsd()
1374 // sigval is a struct in Rust, but a union in C: in test_dragonflybsd()
1392 // Field is named `type` in C but that is a Rust keyword, in test_dragonflybsd()
1456 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_dragonflybsd()
1459 "getrlimit" | "getrlimit64" | // non-int in 1st arg in test_dragonflybsd()
1460 "setrlimit" | "setrlimit64" | // non-int in 1st arg in test_dragonflybsd()
1461 "prlimit" | "prlimit64" // non-int in 2nd arg in test_dragonflybsd()
1475 // aio_buf is "volatile void*" and Rust doesn't understand volatile in test_dragonflybsd()
1525 "wasi/libc-find-relpath.h", in test_wasi()
1526 "wasi/libc-nocwd.h", in test_wasi()
1542 // deal with fields as rust keywords in test_wasi()
1548 // Looks like LLD doesn't merge duplicate imports, so if the Rust in test_wasi()
1558 // Currently Rust/clang disagree on function argument ABI, so skip these in test_wasi()
1559 // tests. For more info see WebAssembly/tool-conventions#88 in test_wasi()
1644 "sys/timerfd.h", in test_android()
1663 // time64_t is not defined for 64-bit targets If included it will in test_android()
1664 // generate the error 'Your time_t is already 64-bit' in test_android()
1714 // Include Android-specific headers: in test_android()
1728 // sigval is a struct in Rust, but a union in C: in test_android()
1746 // but `type` is a Rust keyword, so these fields are translated in test_android()
1747 // to `type_` in Rust. in test_android()
1763 // https://github.com/rust-lang/libc/issues/1359 in test_android()
1821 // See: https://github.com/rust-lang/libc/issues/1356 in test_android()
1826 // FIXME: deprecated - removed in glibc 2.26 in test_android()
1846 // GRND_INSECURE was added in platform-tools-30.0.0 in test_android()
1950 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_android()
1957 // An XSI-compliant version provided if: in test_android()
1963 // libc provides bindings for the XSI-compliant version, which is in test_android()
2006 // incorrect, see: https://github.com/rust-lang/libc/issues/1359 in test_android()
2155 [freebsd14 || freebsd15]:"sys/timerfd.h", in test_freebsd()
2200 // FIXME: https://github.com/rust-lang/libc/issues/1273 in test_freebsd()
2207 // sigval is a struct in Rust, but a union in C: in test_freebsd()
2224 // Field is named `type` in C but that is a Rust keyword, in test_freebsd()
2262 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2267 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2273 // FIXME: This is deprecated - remove in a couple of releases. in test_freebsd()
2284 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2285 // These symbols are not stable across OS-versions. They were in test_freebsd()
2526 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_freebsd()
2534 // FIXME: Our API is unsound. The Rust API allows aliasing in test_freebsd()
2586 // Rust types, we have to explicitly tell the checker about it here: in test_freebsd()
2595 // incorrect, see: https://github.com/rust-lang/libc/issues/1359 in test_freebsd()
2639 // We ignore this field because we needed to use a hack in order to make rust 1.19 in test_freebsd()
2646 // `snap_time` is a `long double`, but it's a nightmare to bind correctly in rust in test_freebsd()
2734 "sys/timerfd.h", in test_emscripten()
2763 // https://github.com/emscripten-core/emscripten/pull/19812 in test_emscripten()
2802 // https://github.com/emscripten-core/emscripten/pull/19812 in test_emscripten()
2814 // emscripten-core/emscripten@953e414 in test_emscripten()
2825 // llvm/llvm-project@d1a96e9 in test_emscripten()
2833 // https://github.com/emscripten-core/emscripten/pull/19812 in test_emscripten()
2840 // Emscripten does not support fork/exec/wait or any kind of multi-process support in test_emscripten()
2841 // https://github.com/emscripten-core/emscripten/blob/3.1.30/tools/system_libs.py#L973 in test_emscripten()
2844 // FIXME: Remove after emscripten-core/emscripten#18492 is released (> 3.1.30). in test_emscripten()
2853 // FIXME: deprecated - SIGNUNUSED was removed in glibc 2.26 in test_emscripten()
2861 // emscripten-core/emscripten@6d6474e in test_emscripten()
2873 | "SIG_IGN" // -1 in test_emscripten()
2877 // https://github.com/emscripten-core/emscripten/pull/19812 in test_emscripten()
2894 // aio_buf is "volatile void*" and Rust doesn't understand volatile in test_emscripten()
2933 assert!(target.contains("nto-qnx")); in test_neutrino()
3073 // Rust types, we have to explicitly tell the checker about it here: in test_neutrino()
3086 // https://github.com/rust-lang/libc/issues/1359 in test_neutrino()
3128 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_neutrino()
3137 // FIXME: Our API is unsound. The Rust API allows aliasing in test_neutrino()
3328 // This macro re-defines fscanf,scanf,sscanf to link to the symbols that are in test_linux()
3329 // deprecated since glibc >= 2.29. This allows Rust binaries to link against in test_linux()
3341 [gnu]: "gnu/libc-version.h", in test_linux()
3407 "sys/timerfd.h", in test_linux()
3427 // `sys/io.h` is only available on x86*, Alpha, IA64, and 32-bit in test_linux()
3549 // FIXME: epoll_event.data is actually a union in C, but in Rust in test_linux()
3551 // http://man7.org/linux/man-pages/man2/epoll_wait.2.html in test_linux()
3554 // but `type` is a Rust keyword, so these fields are translated in test_linux()
3555 // to `type_` in Rust. in test_linux()
3571 // https://github.com/rust-lang/libc/issues/1359 in test_linux()
3634 // FIXME(https://github.com/rust-lang/libc/issues/1558): passing by in test_linux()
3660 // glibcs (see https://github.com/rust-lang/libc/issues/1410) in test_linux()
3664 // So let's ignore for now and re-visit later. in test_linux()
3697 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
3705 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
3713 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
3717 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
3721 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
3748 // Skip definitions from the kernel on non-glibc Linux targets. in test_linux()
3749 // They're libc-independent, so we only need to check them on one in test_linux()
3845 // See: https://github.com/rust-lang/libc/issues/1356 in test_linux()
3862 // - these constants are used by the glibc implementation. in test_linux()
4081 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
4097 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
4110 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
4118 // Everything that uses install-musl.sh has 4.19 kernel headers. in test_linux()
4179 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_linux()
4186 // An XSI-compliant version provided if: in test_linux()
4193 // libc provides bindings for the XSI-compliant version, which is in test_linux()
4200 // FIXME: Our API is unsound. The Rust API allows aliasing in test_linux()
4258 // to the issues described here: https://github.com/rust-lang/libc/issues/2816 in test_linux()
4264 // https://man7.org/linux/man-pages/man3/basename.3.html in test_linux()
4306 // Rust types, we have to explicitly tell the checker about it here: in test_linux()
4339 // glibc uses unnamed fields here and Rust doesn't support that yet in test_linux()
4434 // test fcntl - see: in test_linux_like_apis()
4435 // http://man7.org/linux/man-pages/man2/fcntl.2.html in test_linux_like_apis()
4553 fn which_freebsd() -> Option<i32> { in which_freebsd()
4554 let output = std::process::Command::new("freebsd-version") in which_freebsd()
4578 cfg.flag("-Wno-deprecated-declarations"); in test_haiku()
4726 // FIXME?: complains that rust aligns on 4 byte boundary, but in test_haiku()
4732 // Other platforms have sensible defaults. In Rust, the d_name field in test_haiku()
4766 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_haiku()
4840 // skip these enum-type fields in test_haiku()
4895 // Field is named `type` in C but that is a Rust keyword, in test_haiku()