Skip to content
Snippets Groups Projects
  1. Aug 30, 2017
  2. Aug 27, 2017
  3. Feb 03, 2017
  4. Nov 10, 2016
  5. Nov 08, 2016
  6. Nov 03, 2016
  7. Oct 14, 2016
  8. Oct 11, 2016
  9. Aug 30, 2016
  10. Aug 06, 2016
  11. Aug 04, 2016
  12. Jul 08, 2016
  13. May 04, 2016
    • Raphael Cohn's avatar
      Added strnlen function to all platforms. · 29b1ceab
      Raphael Cohn authored
      strnlen is used to find the length of a C string that may be
      lacking a terminal NUL character. Whilst it is possible to
      implement the equivalent functionality in rust code, it is
      cleaner, simpler and removes the need for duplication of tricky
      functionality to get right. It also makes it easier to port
      C code snippets to rust.
      
      Note that strnlen is not part of POSIX or C99.
      29b1ceab
  14. Apr 13, 2016
  15. Apr 12, 2016
  16. Mar 11, 2016
    • Kamal Marhubi's avatar
      Make cfg_if uses more explicit and consistent · 66c33753
      Kamal Marhubi authored
      This commit changes most uses of cfg_if as follows:
      - fallthrough `else` usage is avoided for architecture or OS specific
        items
      - a comment is added in the final `else` clause to signal intent someone
        modifying
      
      It is safer to omit items than include ones for the wrong platform or
      architecture.
      66c33753
  17. Feb 29, 2016
  18. Feb 11, 2016
    • Alex Crichton's avatar
      Add a default-on "use_std" feature · 6d46b6fa
      Alex Crichton authored
      This adds a `use_std` Cargo feature which disables `#![no_std]` builds of libc,
      but is enabled by default. The library will currently continue to link to the
      standard library to maintain backwards compatibility with the 0.2 series and
      older Rust compilers for now, but this default can possible be changed in the
      future.
      6d46b6fa
  19. Feb 01, 2016
    • Brian Campbell's avatar
      Add abort · d81e4a0a
      Brian Campbell authored
      This is defined by the C standard to indicate abnormal program
      terminaiton; it is defined to call raise(SIGABRT), and to not return.
      This can be useful when panics are not an option, such as signal
      handlers handling stack overflow.
      d81e4a0a
  20. Dec 22, 2015
  21. Dec 21, 2015
  22. Dec 17, 2015
  23. Dec 02, 2015
  24. Nov 30, 2015
  25. Nov 23, 2015
  26. Nov 17, 2015
  27. Nov 03, 2015
  28. Nov 02, 2015
  29. Oct 30, 2015
  30. Oct 29, 2015
  31. Sep 23, 2015
  32. Sep 18, 2015
  33. Sep 17, 2015
Loading