Skip to content
Snippets Groups Projects
  1. Jul 06, 2017
    • bors's avatar
      Auto merge of #646 - FenrirWolf:newlib, r=alexcrichton · 375d7734
      bors authored
      Add experimental newlib bindings
      
      I'm not sure how much desire there is for something like this in the libc crate, but I've been working with a newlib-based toolchain for a while and thought I'd throw this PR up and see what happens.
      
      These bindings are more specifically targeted towards the devkitARM toolchain from http://devkitpro.org rather than newlib in general. I'd be happy to try making things more platform and toolchain-agnostic, but I'm not completely sure what the best way to do that is. I can move more of the arch-specific bindings to the `arm` folder, but should there also be a `devkitarm` subdirectory to further separate specific bindings from other newlib implementations?
      
      There's also the question of if the bindings should live in the `unix` directory in the first place. Newlib aims to provide a unix/posix-like environment and it would be nice to inherit common unix definitions by default, but it can target anything from embedded devices to custom userlands, and as such it often lacks APIs that are common in other libc variants, such as pthreads.
      375d7734
    • Fenrir's avatar
      Add experimental newlib bindings · 91f66733
      Fenrir authored
      91f66733
    • bors's avatar
      Auto merge of #645 - Susurrus:android_extproc, r=alexcrichton · 30564181
      bors authored
      Add EXTPROC for android
      
      Needed for nix-rust/nix#527.
      30564181
    • Bryant Mairs's avatar
      Add EXTPROC for android · 2008668c
      Bryant Mairs authored
      2008668c
  2. Jul 04, 2017
  3. Jul 03, 2017
  4. Jul 02, 2017
  5. Jun 30, 2017
  6. Jun 29, 2017
  7. Jun 28, 2017
  8. Jun 27, 2017
  9. Jun 26, 2017
  10. Jun 25, 2017
    • Bryant Mairs's avatar
      Add termios local flags · 297d5b7d
      Bryant Mairs authored
      297d5b7d
    • bors's avatar
      Auto merge of #616 - Arvamer:linux_input_types, r=alexcrichton · a38631f4
      bors authored
      Add structs defined in linux/input.h
      
      I was using definitions for these structs from `ioctl` but because @cmr decide to deprecate his crate (and yanked all versions :() I think that `libc` is the best place for them.
      
      In original C header, primitive types uses aliases like `__u16` or `__s32`; for now I replaced them with Rust's counterparts but I'm not sure if it is ok, especially because tests were failing for `u64` (`unsigned long long` vs `unsigned long` on x86_64). Also, should I do something special with union in `ff_effect`?
      
      I would like also to add all constants form `linux/input.h` and `linux/input-event-codes.h` if this PR will be accepted.
      a38631f4
  11. Jun 24, 2017
Loading