- Jul 07, 2017
-
-
Alex Crichton authored
We can't test s390x because qemu segfaults but we can at least verify that it compiles. Closes #650
-
bors authored
Bump to 0.2.25 To get newlib bindings (#646) and other stuff on crates.io
-
Fenrir authored
-
bors authored
Remove --privileged from docker Per #43091 r? @alexcrichton
-
Aidan Hobson Sayers authored
-
- Jul 06, 2017
-
-
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.
-
Fenrir authored
-
bors authored
Add EXTPROC for android Needed for nix-rust/nix#527.
-
Bryant Mairs authored
-
- Jul 04, 2017
-
-
bors authored
DragonFly - Change PTHREAD_STACK_MIN from 1 to 16k This is probably related to cargo failing on DragonFly when running with multiple jobs. The minimum pthread stack size has been increase as shown here [1], which was needed to fix nodejs. [1]: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/592912cde1dc358bf080ae9aff3eca491688f47c
-
bors authored
Add missing flags in glibc arm Adds two missing flags that are defined everywhere except for arm-linux-gnueabi for some reason : SO_PASSCRED and SO_SNDBUFFORCE. Also adds MAP_32BIT on x86_64-linux-android and i686-linux-android.
-
roblabla authored
-
roblabla authored
-
Michael Neumann authored
This is probably related to cargo failing on DragonFly when running with multiple jobs. The minimum pthread stack size has been increase as shown here [1], which was needed to fix nodejs. [1]: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/592912cde1dc358bf080ae9aff3eca491688f47c
-
- Jul 03, 2017
-
-
bors authored
Add missing SO_ constants for android Those constants are used by https://github.com/nix-rust/nix I pulled them from https://android.googlesource.com/platform/prebuilts/ndk/+/dev/platform/sysroot/usr/include/asm-generic/socket.h
-
roblabla authored
-
bors authored
Add missing termios constants for Mac Didn't add these the first time around, because it says they're unimplemented, but so are the `NL0` and related constants I added. This also makes testing a little easier having these constants available, and they are in the termios headers on Mac.
-
bors authored
Update NDK to r15b and add some missing symbols Use the new unified headers of the NDK and add some missing symbols for Android. Fixes #632
-
bors authored
Fix types of PTHREAD_PROCESS_* constants Somehow these ended up with wrong types in #633.
-
Nicolas Dusart authored
-
Bryant Mairs authored
-
bors authored
Add socket constants for more platforms Missing a few constants across all nix-supported platforms (see nix-rust/nix#636) so this adds them. This is still a work in progress as I wanted to make sure I didn't break anything doing most of the fixes. I'll come back and finish this up later.
-
- Jul 02, 2017
-
-
Bryant Mairs authored
-
bors authored
Add constants for termios ioctls These should be `c_int` from what I could see for Linux and I assumed the others were the same.
-
Bryant Mairs authored
-
main() authored
-
- Jun 30, 2017
-
-
bors authored
Finish off termios (hopefully!) `cfmakesane` for FreeBSD and `tcgetsid` for everyone!
-
Bryant Mairs authored
-
Bryant Mairs authored
This doesn't appear on any other platforms
-
- Jun 29, 2017
-
-
bors authored
Add pthread_rwlockattr APIs I'm basically trying to mirror the existing code for pthread_mutexattr. Hopefully the non-linux parts are correct - finding the right definitions is rather confusing and occasionally even contradicts existing definitions (e.g. [this](https://github.com/practicalswift/osx/blob/a26375e7b3e01c83e26a23977f909438ed9b31b4/src/libpthread/src/internal.h#L295) `pthread_condattr_t` doesn't match #335).
-
- Jun 28, 2017
-
-
main() authored
-
- Jun 27, 2017
-
-
bors authored
Add constants for sysconf(3) and pathconf(3)
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-
Alan Somers authored
-