Commit Graph

878 Commits

Author SHA1 Message Date
bors
d3d0982488 Auto merge of #390 - japaric:ctest-up, r=alexcrichton
libc-test: cargo update

to pick up the recent changes in the ctest repo.

r? @alexcrichton
2016-09-11 16:32:33 -07:00
Jorge Aparicio
bcc44dfee8 libc-test: cargo update 2016-09-11 17:52:45 -05:00
bors
8f128d86ef Auto merge of #388 - asomers:openbsd2, r=alexcrichton
Factor common code out of the bitrig and openbsd modules

The new directory structure better reflects the historical relationship
of the BSDs, and includes 400 fewer duplicative lines of code.
2016-09-11 11:11:54 -07:00
Alan Somers
b7b720b8d5 Factor common code out of the bitrig and openbsd modules
The new directory structure better reflects the historical relationship
of the BSDs, and includes 400 fewer duplicative lines of code.
2016-09-10 11:12:34 -06:00
bors
b56add32e6 Auto merge of #387 - asomers:openbsd, r=alexcrichton
Diff reduction between OpenBSD and Bitrig

Bitrig had a number of errors and omissions.
Also, fill out struct glob_t on all BSDs.

A follow-up commit will condense OpenBSD/Bitrig common code into a separate file.
2016-09-09 09:03:18 -07:00
bors
0d39c59bc3 Auto merge of #384 - semarie:openbsd-6.0-without-pkgs, r=alexcrichton
use new openbsd-6.0 qcow2 image

this version is using `openbsd-6.0-without-pkgs` image.
2016-09-08 23:56:55 -07:00
Sébastien Marie
919939451f extend QEMU image management
- allow QEMU name to have subdirectory inside (replace `/` by `__` in
  the filename)
- add a new code path for plain qcow2 image (for efficient bandwidth
  usage, the qcow2 is expected to use compressed qcow2 format)
- move freebsd image to explicitly download the gzipped QEMU
2016-09-09 06:24:46 +02:00
Sébastien Marie
958a3d02c9 under OpenBSD 6.0, KERN_RND is no more
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/sysctl.h?rev=1.162&content-type=text/x-cvsweb-markup
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/sysctl.h.diff?r1=1.161&r2=1.162
2016-09-09 06:24:41 +02:00
Sébastien Marie
a40adc68cd use new openbsd-6.0 qcow2 image 2016-09-09 06:24:40 +02:00
Alan Somers
410a200d6a Diff reduction between OpenBSD and Bitrig
Bitrig had a number of errors and omissions.
Also, fill out struct glob_t on all BSDs.
2016-09-08 21:38:04 -06:00
bors
b987f0ccce Auto merge of #386 - alexcrichton:bump, r=alexcrichton
Bump to 0.2.16
2016-09-08 18:16:24 -07:00
bors
b6417373b2 Auto merge of #379 - asomers:evfilt, r=alexcrichton
Move kqueue-related definitions from nix to libc

This PR moves, as much as possible, kqueue and kevent related definitions from the nix crate to libc.  There will be a companion PR to the nix repo.
2016-09-08 17:10:29 -07:00
Alex Crichton
351df2ddef Bump to 0.2.16 2016-09-08 15:01:24 -07:00
bors
d4f6a19c55 Auto merge of #383 - uweigand:master, r=alexcrichton
Add more s390x definitions

This adds more Linux-specific definitions for s390x, to match the
defines provided for other Linux targets.  Many of these will be
required to build std, rustc, and cargo.

In addition, this changes the type of sigaction.sa_flags to "int"
to match current glibc after this bug fix was applied:
https://sourceware.org/bugzilla/show_bug.cgi?id=16713

Some other (cosmetic) changes to bring types in line with the
exact types used in the glibc headers (e.g. ino64_t instead
of ino_t in statfs64).

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2016-09-07 12:26:36 -07:00
Ulrich Weigand
0b5bdbabcb Fixed lint error (double blank line). 2016-09-07 19:54:11 +02:00
bors
574b29310a Auto merge of #382 - c-t-k:sync-file-range-support, r=alexcrichton
Add support for sync_file_range on Linux
2016-09-07 10:47:33 -07:00
Chris Kaminski
ae6cbcdcc9 SYNC_* constants should be unsigned (to reflect usage). 2016-09-07 13:15:49 -04:00
Ulrich Weigand
38569c719b Add more s390x definitions
This adds more Linux-specific definitions for s390x, to match the
defines provided for other Linux targets.  Many of these will be
required to build std, rustc, and cargo.

In addition, this changes the type of sigaction.sa_flags to "int"
to match current glibc after this bug fix was applied:
https://sourceware.org/bugzilla/show_bug.cgi?id=16713

Some other (cosmetic) changes to bring types in line with the
exact types used in the glibc headers (e.g. ino64_t instead
of ino_t in statfs64).

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2016-09-07 15:46:45 +02:00
Alan Somers
38c4b8b753 Fix more CI errors
* Rollback FreeBSD definitions to circa 10.3-RELEASE
* Remove EVFILT_SYSCOUNT across the board.  It's value is changeable, so
  it's not safe to define with FFI.
2016-09-06 21:33:46 -06:00
Chris Kaminski
37552b7da6 Android doesn't have support for sync_file_range yet. 2016-09-06 20:20:00 -04:00
Chris Kaminski
9318594929 Add support for sync_file_range() 2016-09-06 19:35:56 -04:00
bors
44ed4873ed Auto merge of #381 - brson:wasm32, r=alexcrichton
Add prelimenary wasm32 support

For the moment there's nothing different about the emscripten libc implementations for asmjs and wasm32.
2016-09-06 16:13:56 -07:00
Brian Anderson
ab0499fc79 Add prelimenary wasm32 support 2016-09-06 00:09:30 +00:00
bors
9b757034bc Auto merge of #378 - japaric:mips, r=alexcrichton
mips: add SO_REUSEPORT

Which is required to cross compile the net2 crate. Which, in turn, is required to cross compile Cargo.

r? @alexcrichton
2016-09-03 19:30:49 -07:00
Jorge Aparicio
0ddf172d31 mips: add SO_REUSEPORT 2016-09-03 19:12:04 -05:00
bors
3635c1a939 Auto merge of #377 - japaric:s390x, r=alexcrichton
add support for s390x

tested by running libc-test on real s390x hardware.

r? @alexcrichton
2016-09-02 23:58:26 -07:00
Jorge Aparicio
756d7eeefe duplicate POSIX_FADV_* 2016-09-03 01:46:06 -05:00
Jorge Aparicio
e16b11d26c fix POSIX_FADV_* 2016-09-03 00:59:26 -05:00
Jorge Aparicio
e7480eda34 support for s390x 2016-09-03 00:31:55 -05:00
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