Skip to content
Snippets Groups Projects
  1. Oct 20, 2020
  2. Oct 19, 2020
  3. Oct 16, 2020
  4. Oct 15, 2020
  5. Oct 10, 2020
  6. Oct 07, 2020
  7. Oct 04, 2020
  8. Oct 01, 2020
  9. Sep 30, 2020
  10. Sep 29, 2020
  11. Sep 27, 2020
  12. Sep 25, 2020
  13. Sep 21, 2020
    • Josh Triplett's avatar
      Consolidate handling of libdl, and handle crt-static · 5bf6ee5d
      Josh Triplett authored
      Move the link line for `libdl` up to `src/unix/mod.rs`, making it easier
      to see all the libraries `libc` links to.
      
      This also makes `libdl` respect `target-feature=+crt-static`.
      5bf6ee5d
    • Josh Triplett's avatar
      Consolidate handling of libutil, and handle crt-static · e005f4ca
      Josh Triplett authored
      The two library blocks that specify `#[link(name = "util")]` do not
      actually reference any functions in `libutil`; the functions that do use
      `libutil` don't have any reference to it. And having two library blocks
      specify it results in two separate inclusions of `-lutil` on the linker
      command line. Move the link lines up to `src/unix/mod.rs`, making it
      easier to see all the libraries `libc` links to.
      
      This also makes `libutil` respect `target-feature=+crt-static`.
      e005f4ca
    • Josh Triplett's avatar
      Add support for building with static glibc · ac0a7839
      Josh Triplett authored
      This will need corresponding changes in rust-lang/rust to activate, but
      this will make it possible to make those changes.
      
      Note that despite the apparent redundancy in config directives, the link
      directives cannot be simplified any further. Attempting to factor out
      the checks for `target_feature = "crt-static"` does not work.
      ac0a7839
  14. Sep 17, 2020
  15. 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
  16. Sep 11, 2020
  17. Sep 09, 2020
  18. Sep 04, 2020
  19. Sep 03, 2020
  20. Aug 31, 2020
  21. Aug 30, 2020
  22. 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
  23. Aug 24, 2020
  24. Aug 23, 2020
  25. Aug 22, 2020
Loading