Commit Graph

949 Commits

Author SHA1 Message Date
Alan Somers 6a3492d0d8 Fix fn kevent on OpenBSD and Bitrig
Reported by:	Sebastien Marie
2016-09-02 07:28:02 -06:00
Alan Somers e0fc0cd55b Fix some duplicate definitions 2016-09-02 05:43:11 -06:00
Alan Somers 11aa1f3424 Complete kqueue-related definitions
Add definitions for struct kqueue, function kqueue, and for all
related #defines for every BSD-derived operating system.
2016-09-02 04:44:48 -06:00
bors 955aa6d7ab Auto merge of #372 - philippkeller:master, r=alexcrichton
added getchar and putchar

Not sure why they were not in the repo until now, but they are both part of POSIX.1-2008: [getchar](http://pubs.opengroup.org/onlinepubs/9699919799/functions/getchar.html), [putchar](http://pubs.opengroup.org/onlinepubs/9699919799/functions/putchar.html)
2016-08-30 08:41:22 -07:00
Philipp Keller db27b727c5 added getchar and putchar as they both are part of POSIX.1-2008 2016-08-30 07:12:24 +02:00
bors 49d64cae06 Auto merge of #370 - japaric:mips64, r=alexcrichton
mips64: define SIGSTKSZ

r? @alexcrichton
2016-08-29 09:04:48 -07:00
Jorge Aparicio 3490cfeb79 mips64: define SIGSTKSZ 2016-08-28 20:48:55 -05:00
bors 9f8ec72ec0 Auto merge of #369 - alexcrichton:musl-mips, r=alexcrichton
Add CI for mipsel-unknown-linux-musl

Download a trunk OpenWRT toolchain and verify bindings against that. Also fixup
a few stray errors today
2016-08-28 16:25:40 -07:00
Alex Crichton ed32e3fc8e Add CI for mipsel-unknown-linux-musl
Download a trunk OpenWRT toolchain and verify bindings against that. Also fixup
a few stray errors today
2016-08-28 11:53:38 -07:00
bors a94097d9f7 Auto merge of #366 - japaric:mips64, r=alexcrichton
add initial support for mips64

just enough to be able to cross compile std for the mips64-gnu targets

tested by running libc-test for mips64-unknown-linux-gnuabi64

r? @alexcrichton
2016-08-27 13:29:22 -07:00
bors 53372b8270 Auto merge of #367 - knight42:lutimes, r=alexcrichton
Add lutimes

Add lutimes except for openbsd, solaris, android
2016-08-27 12:51:30 -07:00
bors af23c1e5f1 Auto merge of #365 - alexcrichton:more-arch, r=alexcrichton
Add more architectures to libc-test

* `i686-unknown-linux-musl`
* `powerpc-unknown-linux-gnu`
* `powerpc64-unknown-linux-gnu`

cc @japaric
cc https://github.com/rust-lang/rust/issues/36006
2016-08-27 11:26:39 -07:00
Alex Crichton d00f4329a2 Fix CC for powerpc64 2016-08-27 11:26:17 -07:00
knight42 c289365eed Add lutimes on some platforms 2016-08-28 01:53:20 +08:00
Jorge Aparicio 196b0e838d add initial support for mips64
just enough to be able to cross compile std for the mips64-gnu targets

tested by running libc-test for mips64-unknown-linux-gnuabi64
2016-08-27 08:23:53 -05:00
Alex Crichton 92105c645d Use rustup to download the stable channel 2016-08-26 23:45:32 -07:00
Alex Crichton a6b1c2d296 Fix and add testing for powerpc64 2016-08-26 23:11:45 -07:00
Alex Crichton 64595efb18 Use https for webhooks 2016-08-26 23:04:58 -07:00
Alex Crichton fc900ee6c9 Update the mips docker image
Use the standard mips compilers from Ubuntu now
2016-08-26 22:59:26 -07:00
Alex Crichton 8018a50514 Get powerpc-unknown-linux-gnu working and tested 2016-08-26 22:59:19 -07:00
Alex Crichton a097ff6d35 Add ci for i686-unknown-linux-musl 2016-08-26 19:49:16 -07:00
Alex Crichton 85ac087c76 Merge pull request #364 from nbaksalyar/master
Add missing consts on Solaris
2016-08-25 22:20:59 -07:00
Nikita Baksalyar 681b343541
Add missing consts on Solaris 2016-08-26 05:32:22 +05:00
Alex Crichton b117b261e9 Merge pull request #363 from GuillaumeLestringant/master
Corrects signedness of c_char for Linux musl Aarch64 & ppc64.
2016-08-22 09:07:19 -07:00
Guillaume Lestringant 71304b6b77 Corrects signedness of c_char for Linux musl Aarch64 & ppc64. 2016-08-22 12:29:10 +02:00
Alex Crichton e771674de4 Merge pull request #360 from jynnantonix/sem_timedwait
Add sem_timedwait for unix platforms
2016-08-19 13:26:17 -07:00
Chirantan Ekbote 016d6427e2 Add sem_timedwait for all non-Apple UNIXes 2016-08-19 12:12:11 -07:00
Chirantan Ekbote e2ac609f46 Add sem_timedwait for unix platforms
We can almost implement synchronization mechanisms in pure-rust using
pthread semaphores as the primitive but sem_timedwait is necessary for
implementing timeout-based functions.
2016-08-18 14:39:08 -07:00
Alex Crichton 8312c49b42 Merge pull request #359 from fiveop/sched_macros
Add some macros from sched.h for android and linux.
2016-08-18 13:59:27 -07:00
Philipp Matthias Schaefer 2def04a856 Add some macros from sched.h for android and linux.
I duplicated the code for android, because the member of cpu_set_t
is private, thus cannot be accessed in the parent mod. I would have
had to configure the name anyway based on the platform, because it
differs between the platforms.
2016-08-18 22:04:11 +02:00
Alex Crichton 32316bd221 Merge pull request #358 from dovreshef/master
add missing (common) iff constants
2016-08-16 14:34:14 -07:00
Dov Reshef 0a3afe1825 add missing (common) iff constants 2016-08-16 20:56:02 +03:00
Alex Crichton 08f5e9dd90 Merge pull request #356 from fiveop/sched_for_android
Move a few scheduling related functions from linux to notbsd.
2016-08-15 12:03:23 -07:00
Philipp Matthias Schaefer e668ec7aaa Move a few scheduling related functions from linux to notbsd. 2016-08-15 20:20:17 +02:00
Alex Crichton c8b125383e Merge pull request #354 from fiveop/poll_constants
Add missing constants for poll() flags
2016-08-10 15:36:20 -07:00
Philipp Matthias Schaefer 965df8ed4f Add missing constants for poll() flags 2016-08-10 22:58:29 +02:00
Alex Crichton 3630c46aea Merge pull request #353 from knight42/utmp
Make utmp(x) support more platforms
2016-08-09 08:35:02 -07:00
Knight ee0a812bfd Add utmpx on freebsd 2016-08-09 14:38:11 +08:00
Knight cc1a0c212d Add utmpx on apple 2016-08-09 14:38:11 +08:00
Knight 5f8f0923cc Move struct utmpx to Linux level 2016-08-09 14:38:11 +08:00
Knight 866c9e4cb7 libc-test: ignore user-defined struct 2016-08-09 14:38:11 +08:00
Knight 0e0fb686d6 libc-test: allow deprecated functions
glibc-2.24 deprecates readdir_r() and readdir64_r()
2016-08-09 14:38:11 +08:00
Alex Crichton 20222659a0 Merge pull request #350 from meh/master
Add memset
2016-08-06 17:06:42 -07:00
meh 5bf1fe4fc2 Add memset 2016-08-06 16:45:15 +02:00
Alex Crichton e01321c78b Merge pull request #348 from alexcrichton/bump
Bump to 0.2.15
2016-08-04 18:51:45 -07:00
Alex Crichton 290d4b10aa Merge pull request #349 from meh/master
Add memcpy and memmove
2016-08-04 18:51:28 -07:00
meh 988305b369 Add memcpy and memmove 2016-08-04 22:31:51 +02:00
Alex Crichton 6c18f30543 Bump to 0.2.15 2016-08-04 08:19:48 -07:00
Alex Crichton 23b69f3e08 Merge pull request #346 from frewsxcv/pg
Add `getpgid`.
2016-08-03 09:23:39 -07:00
Corey Farwell 68dba7ab5a Add `getpgid`. 2016-08-03 08:21:45 -04:00