Skip to content
Snippets Groups Projects
  1. Sep 30, 2020
  2. Sep 29, 2020
  3. Sep 27, 2020
  4. Sep 25, 2020
  5. 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
  6. Sep 19, 2020
  7. Sep 17, 2020
  8. Sep 13, 2020
  9. Sep 10, 2020
  10. Sep 09, 2020
  11. Sep 04, 2020
  12. Sep 03, 2020
  13. Sep 02, 2020
  14. Aug 31, 2020
  15. Aug 30, 2020
  16. 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
  17. Aug 25, 2020
  18. Aug 24, 2020
  19. Aug 23, 2020
  20. Aug 22, 2020
Loading