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.
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.
- 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
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.
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>
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>
* 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.
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
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