• Home
  • Raw
  • Download

Lines Matching +full:musl +full:- +full:tools

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()
320 // FIXME: the value has been changed since Catalina (0xffff0000 -> 0x3fff0000). in test_apple()
332 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_apple()
338 … // FIXME: libstd removed libresolv support: https://github.com/rust-lang/rust/pull/102766 in test_apple()
350 // FIXME: the array size has been changed since macOS 10.15 ([8] -> [7]). in test_apple()
353 // MAXPATHLEN is too big for auto-derive traits on arrays. in test_apple()
417 cfg.flag("-Wno-deprecated-declarations"); in test_openbsd()
527 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_openbsd()
531 // https://marc.info/?l=openbsd-cvs&m=154723400730318 in test_openbsd()
667 // FIXME: newer windows-gnu environment on CI? in test_windows()
682 // windows-isms in test_windows()
693 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_windows()
707 cfg.flag("-Wno-deprecated-declarations"); in test_redox()
758 // While debugging, "CFLAGS=-ferror-limit=<large num>" is useful to get more error output. in test_solarish()
760 cfg.flag("-Wno-deprecated-declarations"); in test_solarish()
894 // explicitly support it. (A no-op is an acceptable implementation of EPOLLEXCLUSIVE.) in test_solarish()
911 // a bunch of solaris-only fields in test_solarish()
940 // `uc_filler` fields to use for brand-specific state. in test_solarish()
952 // const-ness only added recently in test_solarish()
969 // const-ness issues in test_solarish()
972 // Solaris-different in test_solarish()
996 cfg.flag("-Wno-deprecated-declarations"); in test_netbsd()
1157 "MS_RMT_MASK" => true, // updated in glibc 2.22 and musl 1.1.13 in test_netbsd()
1166 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_netbsd()
1169 "getrlimit" | "getrlimit64" | // non-int in 1st arg in test_netbsd()
1170 "setrlimit" | "setrlimit64" | // non-int in 1st arg in test_netbsd()
1171 "prlimit" | "prlimit64" | // non-int in 2nd arg in test_netbsd()
1205 cfg.flag("-Wno-deprecated-declarations"); in test_dragonflybsd()
1378 "MS_RMT_MASK" => true, // updated in glibc 2.22 and musl 1.1.13 in test_dragonflybsd()
1391 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_dragonflybsd()
1394 "getrlimit" | "getrlimit64" | // non-int in 1st arg in test_dragonflybsd()
1395 "setrlimit" | "setrlimit64" | // non-int in 1st arg in test_dragonflybsd()
1396 "prlimit" | "prlimit64" // non-int in 2nd arg in test_dragonflybsd()
1460 "wasi/libc-find-relpath.h", in test_wasi()
1461 "wasi/libc-nocwd.h", in test_wasi()
1494 // tests. For more info see WebAssembly/tool-conventions#88 in test_wasi()
1596 // time64_t is not defined for 64-bit targets If included it will in test_android()
1597 // generate the error 'Your time_t is already 64-bit' in test_android()
1644 // Include Android-specific headers: in test_android()
1693 // https://github.com/rust-lang/libc/issues/1359 in test_android()
1743 // See: https://github.com/rust-lang/libc/issues/1356 in test_android()
1748 // FIXME: deprecated - removed in glibc 2.26 in test_android()
1768 // GRND_INSECURE was added in platform-tools-30.0.0 in test_android()
1778 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_android()
1785 // An XSI-compliant version provided if: in test_android()
1791 // libc provides bindings for the XSI-compliant version, which is in test_android()
1821 // incorrect, see: https://github.com/rust-lang/libc/issues/1359 in test_android()
1832 // incorrect, see: https://github.com/rust-lang/libc/issues/1359 in test_android()
2013 // FIXME: https://github.com/rust-lang/libc/issues/1273 in test_freebsd()
2059 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2064 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2070 // FIXME: This is deprecated - remove in a couple of releases. in test_freebsd()
2075 // FIXME: These are deprecated - remove in a couple of releases. in test_freebsd()
2076 // These symbols are not stable across OS-versions. They were in test_freebsd()
2282 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_freebsd()
2337 // incorrect, see: https://github.com/rust-lang/libc/issues/1359 in test_freebsd()
2529 // FIXME: The size has been changed due to musl's time64 in test_emscripten()
2543 // emscripten-core/emscripten@953e414 in test_emscripten()
2550 // FIXME: The size has been changed when upgraded to musl 1.2.2 in test_emscripten()
2566 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_emscripten()
2573 // = note: error: undefined symbol: wait4 (referenced by top-level compiled C/C++ code) in test_emscripten()
2574 … // warning: Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols in test_emscripten()
2575 … // warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` in test_emscripten()
2586 // FIXME: deprecated - SIGNUNUSED was removed in glibc 2.26 in test_emscripten()
2594 // emscripten-core/emscripten@6d6474e in test_emscripten()
2606 | "SIG_IGN" // -1 in test_emscripten()
2633 // musl names this __dummy1 but it's still there in test_emscripten()
2636 // musl seems to define this as an *anonymous* bitfield in test_emscripten()
2647 // FIXME: After musl 1.1.24, it have only one field `sched_priority`, in test_emscripten()
2662 assert!(target.contains("nto-qnx")); in test_neutrino()
2815 // https://github.com/rust-lang/libc/issues/1359 in test_neutrino()
2857 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_neutrino()
3025 let musl = target.contains("musl") || target.contains("ohos"); in test_linux() localVariable
3028 match (gnu, musl, uclibc) { in test_linux()
3033 "linux target lib is gnu: {}, musl: {}, uclibc: {}", in test_linux()
3034 gnu, musl, uclibc in test_linux()
3050 let aarch64_musl = target.contains("aarch64") && musl; in test_linux()
3058 // This macro re-deifnes fscanf,scanf,sscanf to link to the symbols that are in test_linux()
3071 [gnu]: "gnu/libc-version.h", in test_linux()
3156 // `sys/io.h` is only available on x86*, Alpha, IA64, and 32-bit in test_linux()
3163 // sysctl system call is deprecated and not available on musl in test_linux()
3165 [!(x32 || musl || gnu)]: "sys/sysctl.h", in test_linux()
3166 // <execinfo.h> is not supported by musl: in test_linux()
3167 // https://www.openwall.com/lists/musl/2015/04/09/3 in test_linux()
3169 [!(musl || uclibc)]: "execinfo.h", in test_linux()
3179 [!musl]: "linux/can/j1939.h", in test_linux()
3210 [!musl && !sparc64]: "linux/openat2.h", in test_linux()
3211 [!musl]: "linux/ptrace.h", in test_linux()
3252 // In MUSL `flock64` is a typedef to `flock`. in test_linux()
3253 "flock64" if musl => format!("struct {}", ty), in test_linux()
3271 // http://man7.org/linux/man-pages/man2/epoll_wait.2.html in test_linux()
3291 // https://github.com/rust-lang/libc/issues/1359 in test_linux()
3309 "pgn_t" if musl => true, in test_linux()
3310 "priority_t" if musl => true, in test_linux()
3311 "name_t" if musl => true, in test_linux()
3321 // FIXME: musl CI has old headers in test_linux()
3322 if (musl || sparc64) && ty.starts_with("uinput_") { in test_linux()
3325 // FIXME(https://github.com/rust-lang/libc/issues/1558): passing by in test_linux()
3351 // glibcs (see https://github.com/rust-lang/libc/issues/1410) in test_linux()
3355 // So let's ignore for now and re-visit later. in test_linux()
3362 // which is absent in musl, has to be defined. in test_linux()
3363 "__exit_status" if musl => true, in test_linux()
3372 "j1939_filter" if musl => true, in test_linux()
3375 "sockaddr_can" if musl => true, in test_linux()
3387 // Skip definitions from the kernel on non-glibc Linux targets. in test_linux()
3388 // They're libc-independent, so we only need to check them on one in test_linux()
3389 // libc. We don't want to break CI if musl or another libc doesn't in test_linux()
3419 if musl || sparc64 { in test_linux()
3451 // See: https://github.com/rust-lang/libc/issues/1356 in test_linux()
3467 // FIXME: on musl the pthread types are defined a little differently in test_linux()
3468 // - these constants are used by the glibc implementation. in test_linux()
3469 n if musl && n.contains("__SIZEOF_PTHREAD") => true, in test_linux()
3490 … // FIXME: Not defined on ARM, gnueabihf, MIPS, musl, PowerPC, riscv64, s390x, and sparc64. in test_linux()
3491 … "SYS_memfd_secret" if arm | gnueabihf | mips | musl | ppc | riscv64 | s390x | sparc64 => true, in test_linux()
3511 // FIXME: Not currently available in headers on ARM, MIPS and musl. in test_linux()
3512 "NETLINK_GET_STRICT_CHK" if arm || mips || musl => true, in test_linux()
3570 | "RESOLVE_NO_XDEV" if musl || sparc64 => true, in test_linux()
3574 | "CAN_NPROTO" if musl || sparc64 => true, in test_linux()
3577 "GRND_INSECURE" if musl || sparc64 => true, in test_linux()
3580 "MREMAP_DONTUNMAP" if musl || sparc64 => true, in test_linux()
3584 | "CLOSE_RANGE_CLOEXEC" if musl || sparc64 => true, in test_linux()
3587 "MPOL_F_NUMA_BALANCING" if musl || sparc64 => true, in test_linux()
3599 if musl || sparc64 => true, in test_linux()
3634 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_linux()
3641 // An XSI-compliant version provided if: in test_linux()
3648 // libc provides bindings for the XSI-compliant version, which is in test_linux()
3659 "lio_listio" if musl => true, in test_linux()
3696 // FIXME: This needs musl 1.2.2 or later. in test_linux()
3697 "gettid" if musl => true, in test_linux()
3702 "reallocarray" if musl => true, in test_linux()
3707 // Needs musl 1.2.3 or later. in test_linux()
3708 "pthread_getname_np" if musl => true, in test_linux()
3712 // to the issues described here: https://github.com/rust-lang/libc/issues/2816 in test_linux()
3718 // https://man7.org/linux/man-pages/man3/basename.3.html in test_linux()
3747 // `__exit_status` type is a patch which is absent in musl in test_linux()
3748 (struct_ == "utmpx" && field == "ut_exit" && musl) || in test_linux()
3767 // musl names this __dummy1 but it's still there in test_linux()
3768 (musl && struct_ == "glob_t" && field == "gl_flags") || in test_linux()
3769 // musl seems to define this as an *anonymous* bitfield in test_linux()
3770 (musl && struct_ == "statvfs" && field == "__f_unused") || in test_linux()
3780 // FIXME: After musl 1.1.24, it have only one field `sched_priority`, in test_linux()
3787 ].contains(&field) && musl) || in test_linux()
3788 // FIXME: After musl 1.1.24, the type becomes `int` instead of `unsigned short`. in test_linux()
3815 "sockaddr_un" | "sembuf" | "ff_constant_effect" if mips32 && (gnu || musl) => true, in test_linux()
3854 let musl = target.contains("musl") || target.contains("ohos"); in test_linux_like_apis() localVariable
3876 // test fcntl - see: in test_linux_like_apis()
3877 // http://man7.org/linux/man-pages/man2/fcntl.2.html in test_linux_like_apis()
3880 if musl { in test_linux_like_apis()
3995 fn which_freebsd() -> Option<i32> { in which_freebsd()
3996 let output = std::process::Command::new("freebsd-version") in which_freebsd()
4019 cfg.flag("-Wno-deprecated-declarations"); in test_haiku()
4206 // FIXME: https://github.com/rust-lang/libc/issues/1272 in test_haiku()
4279 // skip these enum-type fields in test_haiku()