1. 17 Jan, 2017 5 commits
  2. 16 Jan, 2017 1 commit
  3. 15 Jan, 2017 1 commit
  4. 14 Jan, 2017 3 commits
  5. 13 Jan, 2017 1 commit
  6. 10 Jan, 2017 5 commits
  7. 08 Jan, 2017 2 commits
  8. 07 Jan, 2017 1 commit
    • bors's avatar
      Auto merge of #490 - redox-os:master, r=alexcrichton · 95d5534d
      bors authored
      Remove kind='static' from Redox linkage
      
      Our cross compiler links binaries statically, and the rustc target has dynamic linking disabled - adding kind = "static" is not necessary.
      95d5534d
  9. 06 Jan, 2017 8 commits
    • Zack Weinberg's avatar
      Another round of portability fixes: · f1a91da7
      Zack Weinberg authored
       * OpenBSD doesn't have idtype_t or the P_* constants either
       * FreeBSD has different values for the P_* constants
       * Android gives idtype_t a different signedness
       * Disable waitid on NetBSD as it causes a link failure - I think this
         may be a problem with the test environment
      f1a91da7
    • bors's avatar
      Auto merge of #491 - Roguelazer:add_getpeereid_function, r=alexcrichton · 89c6c6c8
      bors authored
      Add getpeereid function
      
      This is a wrapper around getsockopt() for getting the uid/gid of a remote Unix domain socket peer. It was added in FreeBSD 4.6 and present in all modern BSDs I checked (including Mac OS X).
      89c6c6c8
    • James Brown's avatar
      Add getpeereid function · 4e6dd242
      James Brown authored
      This is a wrapper around getsockopt() for getting the uid/gid of a
      remote Unix domain socket peer. It was added in FreeBSD 4.6 and present
      in all modern BSDs I checked (including Mac OS X).
      4e6dd242
    • Zack Weinberg's avatar
      Corrections based on CI failures. · 644929ad
      Zack Weinberg authored
       * idtype_t no longer an enum.
       * Darwin/x86-32 needs the $UNIX2003 thing.
       * Darwin, FreeBSD, and NetBSD all have different values for the new constants.
       * OpenBSD doesn't have this feature at all.  (Hopefully we can get away
         with defining idtype_t anyway.)
      644929ad
    • Jeremy Soller's avatar
      Remove kind='static' · 52369bca
      Jeremy Soller authored
      52369bca
    • Zack Weinberg's avatar
      Add waitid and related constants and types. · 9d1e4848
      Zack Weinberg authored
      waitid() is a variation on waitpid() with a marginally more
      convenient way of reporting the status, and a couple of handy
      additional features, such as the ability to peek at an exit
      status without consuming it.  It's in POSIX.1-2008 and should
      be available on all supported Unixes.
      
      Along with it come the type 'idtype_t' and the constants
      WEXITED, WSTOPPED, WCONTINUED, and WNOWAIT.  Theconstants
      were alre dy defined for unix/notbsd platforms.
      
      Patch incomplete: several targets are going to have to add
      definitions of siginfo_t, but I'm not sure which ones yet.
      9d1e4848
    • bors's avatar
      Auto merge of #488 - redox-os:redox, r=alexcrichton · c900083b
      bors authored
      Link libc and libm in Redox [critical]
      
      This is critical to being able to set up a proper cross compilation setup for Redox. Due to the way libc is vendored, I have to have this change merged in and have liblibc updated in the Rust repository as well before I can have a working buildbot for Redox.
      c900083b
    • Jeremy Soller's avatar
      Link libc and libm · 74590038
      Jeremy Soller authored
      74590038
  10. 04 Jan, 2017 2 commits
  11. 03 Jan, 2017 4 commits
  12. 02 Jan, 2017 1 commit
  13. 01 Jan, 2017 2 commits
    • bors's avatar
      Auto merge of #483 - japaric:sparc64, r=alexcrichton · 3e895791
      bors authored
      sparc64-linux support
      
      This needs to be "cleaned" up to use modules instead of a bunch of `cfg`s ...
      
      Sadly, sparc64 constants are very different from other architectures so cleaning this will result in a bunch of duplication, I think.
      
      While working on this, I was wondering why the constants are not written like this:
      
      ``` rust
      // linux/mod.rs
      const COMMON: ::c_int = 3;
      
      cfg_if! {
          if #[cfg(target_arch = "sparc64")] {
              const FOO: ::c_int = 1;
          } else if #[cfg(any(target_arch = "mips64", target_arch = "x86_64"))] {
              const FOO: ::c_int = 2;
          } else {
              // unsupported/unknown architecture
          }
      }
      ```
      
      I think this might result in less duplicated code. @alexcrichton Has something like that ^ been attempted before?
      3e895791
    • Jorge Aparicio's avatar
      tidy and last minute fixes · 67615b49
      Jorge Aparicio authored
      67615b49
  14. 31 Dec, 2016 2 commits
  15. 29 Dec, 2016 2 commits