Skip to content
Snippets Groups Projects
  1. Nov 09, 2017
  2. Nov 07, 2017
    • bors's avatar
      Auto merge of #838 - Susurrus:mfd, r=alexcrichton · 86b4281c
      bors authored
      Expose MFD_ constants on all Linux targets.
      
      These aren't exposed on non-MIPS musl targets, but since they're
      part of a kernel API, they're still applicable, so we just don't
      test them there but expose them anyways.
      86b4281c
    • Bryant Mairs's avatar
      Expose MFD_ constants on all Linux targets. · fa81ab39
      Bryant Mairs authored
      These aren't exposed on non-MIPS musl targets, but since they're
      part of a kernel API, they're still applicable, so we just don't
      test them there but expose them anyways.
      fa81ab39
  3. Nov 06, 2017
  4. Nov 05, 2017
  5. Nov 02, 2017
    • bors's avatar
      Auto merge of #830 - malbarbo:getrandom_const, r=alexcrichton · 833e67ff
      bors authored
      Add constants used by getrandom linux syscall
      
      getrandom syscall was added in kernel 3.17. Musl and android seems to use old kernel headers, but considering that they define SYS_getrandom, the constants GRND_NONBLOCK and GRND_RANDOM should also be defined.
      833e67ff
    • Marco A L Barbosa's avatar
      ae496269
    • bors's avatar
      Auto merge of #831 - alexcrichton:wasm, r=malbarbo · d96bf171
      bors authored
      Compile an empty library on wasm32 non-Emscripten
      
      In preparation for eventually having a non-Emscripten based wasm32 target, this
      commit makes `libc` the crate an empty library on wasm32 targets that are not
      with `target_os = "emscripten"`. This may eventually get filled out over time,
      but for now it's all empty!
      d96bf171
    • Alex Crichton's avatar
      Compile an empty library on wasm32 non-Emscripten · d9933b77
      Alex Crichton authored
      In preparation for eventually having a non-Emscripten based wasm32 target, this
      commit makes `libc` the crate an empty library on wasm32 targets that are not
      with `target_os = "emscripten"`. This may eventually get filled out over time,
      but for now it's all empty!
      d9933b77
  6. Oct 31, 2017
  7. Oct 30, 2017
  8. Oct 29, 2017
  9. Oct 28, 2017
  10. Oct 27, 2017
  11. Oct 24, 2017
    • Marco A L Barbosa's avatar
      Add powerpc64le to CI · 31309536
      Marco A L Barbosa authored
      31309536
    • bors's avatar
      Auto merge of #787 - vojtechkral:master, r=alexcrichton · 42b24bf7
      bors authored
      Fix kqueue filter consts type on NetBSD [WAS: Provide EV_SET]
      
      Using BSD kqueue's `kevent` structure is tedious, because some BSD variants define the structure slightly differently. This forces user's code to differentiate between BSD variants and initialize `kevent` accordingly, which is annoying and error-prone.
      
      For an example, refer to [MIO](https://github.com/carllerche/mio/blob/master/src/sys/unix/kqueue.rs#L38).
      
      This is an attempt to fix it - provide a ctor function with the same signature across BSD variants.
      
      Is an `impl` piece for a C structure allowed in libc?
      
      **edit:** I noticed the `kevent` function has a similar problem, maybe I should include a fix for that too...
      **edit:** ^ Done
      42b24bf7
  12. Oct 23, 2017
Loading