Skip to content
Snippets Groups Projects
  1. Sep 29, 2020
  2. Sep 27, 2020
  3. Sep 17, 2020
  4. Sep 13, 2020
    • Dan Gohman's avatar
      Define some `sysconf` constants for WASI. · 51af18df
      Dan Gohman authored
      51af18df
    • Daniil Bondarev's avatar
      Use safe_f! consistently across platforms · 773f5562
      Daniil Bondarev authored
      The pr #1870 introduced safe_f! macro, which made some functions like
      WIFEXITED and WEXITSTATUS const and safe on linux_like platform only,
      which causes inconsistency when trying to use those functions in crates
      compiled across multiple platforms, as using unsafe on those functions
      will generate unused_unsafe warning on linux platforms and lack of
      unsafe block will fail compilation on non-linux platforms.
      
      To avoid the inconsistency, this commit applies the same macro for all
      the same functions on other platforms too.
      773f5562
  5. Sep 09, 2020
  6. Sep 04, 2020
  7. Sep 03, 2020
  8. Aug 31, 2020
  9. Aug 30, 2020
  10. Aug 28, 2020
    • Thomas de Zeeuw's avatar
      Add IOV_MAX and UIO_MAXIOV constants · 41fb4805
      Thomas de Zeeuw authored
      These constant can be used to determine the maximum number of iovecs can
      be passed to functions like readv/writev.
      
      Linux like uses UIO_MAXIOV, while the BSD family uses IOV_MAX.
      41fb4805
  11. Aug 24, 2020
  12. Aug 23, 2020
  13. Aug 22, 2020
  14. Aug 20, 2020
  15. Aug 19, 2020
  16. Aug 18, 2020
    • Josh Triplett's avatar
      Define P_PIDFD, used with waitid · e709b3f7
      Josh Triplett authored
      Linux defines a waitid type `P_PIDFD`, for use with process file
      descriptors (`pidfd`). Add that constant.
      
      In libc-test, add linux/wait.h to the Linux-specific and
      Android-specific headers, to get the definition. Exclude it on Android
      and musl for now, though, as the versions in CI don't have it yet.
      e709b3f7
  17. Aug 12, 2020
  18. Aug 11, 2020
  19. Aug 10, 2020
  20. Aug 09, 2020
  21. Aug 06, 2020
    • Joshua M. Clulow's avatar
      add openpty and forkpty implementation for illumos systems · 1f0ea0da
      Joshua M. Clulow authored
      At time of writing, illumos systems do not provide an implementation of
      the openpty() and forkpty() wrappers provided on some other UNIX
      systems.  While we expect to grow an implementation, it seems prudent to
      provide a compatibility routine here first to unblock illumos support in
      the popular nix crate.
      1f0ea0da
  22. Aug 05, 2020
    • Dark Kirb's avatar
      Add DevkitPPC support · e9a12683
      Dark Kirb authored
      DevkitPPC does not support unix sockets natively, meaning that bindings
      to these functions was removed for powerpc targets with "nintendo" as
      vendor.
      
      Suggested target json files:
      
      Nintendo Gamecube:
      ```
      {
        "arch": "powerpc",
        "data-layout": "E-m:e-p:32:32-i64:64-n32",
        "dynamic-linking": false,
        "env": "newlib",
        "executables": true,
        "has-elf-tls": false,
        "has-rpath": true,
        "linker-flavor": "gcc",
        "llvm-target": "powerpc-eabi",
        "max-atomic-width": 32,
        "os": "dolphin",
        "target-c-int-width": "32",
        "target-endian": "big",
        "target-family": "unix",
        "target-mcount": "_mcount",
        "target-pointer-width": "32",
        "vendor": "nintendo"
      }
      ```
      
      Nintendo Wii:
      ```
      {
        "arch": "powerpc",
        "data-layout": "E-m:e-p:32:32-i64:64-n32",
        "dynamic-linking": false,
        "env": "newlib",
        "executables": true,
        "has-elf-tls": false,
        "has-rpath": true,
        "linker-flavor": "gcc",
        "llvm-target": "powerpc-eabi",
        "max-atomic-width": 32,
        "os": "revolution",
        "target-c-int-width": "32",
        "target-endian": "big",
        "target-family": "unix",
        "target-mcount": "_mcount",
        "target-pointer-width": "32",
        "vendor": "nintendo"
      }
      ```
      e9a12683
  23. Aug 02, 2020
  24. Jul 29, 2020
  25. Jul 28, 2020
  26. Jul 27, 2020
  27. Jul 25, 2020
Loading