Commit Graph

1893 Commits

Author SHA1 Message Date
bors
c6d4aa672b Auto merge of #797 - jakllsch:netbsd-5063840d-7233-49b6-957b-1b26d2878f7f, r=alexcrichton
netbsd: add KERN_PROC_ARGS sysctl MIB subtypes
2017-10-07 23:07:19 +00:00
Jonathan A. Kollasch
7a06a32e46 netbsd: add KERN_PROC_ARGS sysctl MIB subtypes 2017-10-07 15:13:21 -05:00
Alex Crichton
fd7c24cad4 Merge pull request #796 from andrewtj/atj-yardi-ext
Add getservbyname, getprotobyname, and related structs
2017-10-07 15:07:56 +00:00
Alex Crichton
91cd87c70f Don't cache on appveyor 2017-10-07 08:07:33 -07:00
Andrew Tunnell-Jones
e0e08d1652 Add getservbyname and getprotobyname 2017-10-07 07:13:59 +00:00
bors
4d1b322cff Auto merge of #794 - semarie:release, r=alexcrichton
bump to 0.2.32

- add DCCP constant definitions
- add clock_gettime related functions to macOS
- add fstatat64 on linux/android
- add preadv64/pwritev64 on linux/android
- add utimensat on solaris, netbsd and openbsd
- add IP_BINDANY on freebsd
2017-10-06 13:49:20 +00:00
Sébastien Marie
cf4c0beffb bump to 0.2.32
- add DCCP constant definitions
- add clock_gettime related functions to macOS
- add fstatat64 on linux/android
- add preadv64/pwritev64 on linux/android
- add utimensat on solaris, netbsd and openbsd
- add IP_BINDANY on freebsd
2017-10-06 13:28:38 +02:00
bors
0c1608ab99 Auto merge of #792 - justinlatimer:ip-bindany, r=alexcrichton
Add IP_BINDANY for FreeBSD

Adds the IP_BINDANY constant for FreeBSD. Thanks!
2017-10-05 20:38:30 +00:00
Justin Latimer
1daf1c212a Add IP_BINDANY for FreeBSD 2017-10-05 20:24:56 +00:00
bors
974227327e Auto merge of #790 - semarie:bsd-utimens, r=alexcrichton
add utimensat to NetBSD and OpenBSD
2017-10-05 14:32:38 +00:00
Sébastien Marie
e26a5d5630 add utimensat to netbsdlike 2017-10-05 06:16:35 +02:00
bors
c959b16f4f Auto merge of #791 - alexcrichton:no-https, r=alexcrichton
Disable https on Android SDK fetch

Apparently it no longer works
2017-10-04 23:58:14 +00:00
Alex Crichton
bccba4a996 Disable https on Android SDK fetch
Apparently it no longer works
2017-10-04 16:57:31 -07:00
bors
e4f8ab82bc Auto merge of #785 - Mic92:preadv64, r=alexcrichton
Add preadv64/pwritev64 on Linux/Android
2017-09-28 13:53:14 +00:00
Joerg Thalheim
b103fae4af Add preadv64/pwritev64 on Linux/Android 2017-09-28 12:45:34 +01:00
bors
96c872c180 Auto merge of #784 - Mic92:largefilesupport, r=alexcrichton
Add fstatat64 on Linux/Android
2017-09-27 14:53:40 +00:00
Joerg Thalheim
df64b412a2 Add fstatat64 on Linux/Android 2017-09-27 11:44:50 +01:00
bors
5ee53b03f1 Auto merge of #782 - tjkirch:master, r=alexcrichton
Add support for aarch64-unknown-linux-musl

This adds support for aarch64-unknown-linux-musl as requested in rust-lang/rust#44779 by @alexcrichton

The new file `ci/docker/aarch64-unknown-linux-musl/Dockerfile` essentially merges the aarch64-unknown-linux-gnu and x86_64-unknown-linux-musl Dockerfiles.

The bigger changes are under `src/unix/notbsd/linux/`, though they're fairly superficial:

Previously, some constants could be shared between all 64-bit musl triples, but aarch64 differs, so a number of things were moved from `musl/b64/mod.rs` to specific arches: `musl/b64/powerpc64.rs` and `musl/b64/x86_64.rs`, with the aarch64-specific differences being added to `musl/b64/aarch64.rs`.

Similarly, some constants moved from `musl/mod.rs` to lower levels: `musl/b32/mod.rs`, `musl/b64/powerpc64.rs`, and `musl/b64/x86_64.rs`, with the aarch64-specific differences added to `musl/b64/aarch64.rs`.

Finally, some things that were true of all Linux builds moved from `mod.rs` into lower levels: `mips/mod.rs`, `other/mod.rs`, `musl/b32/mod.rs`, `musl/b64/powerpc64.rs`, and `musl/b64/x86_64.rs`, with the aarch64-specific differences added to `musl/b64/aarch64.rs`.

Testing:

All linux-based triples under `ci/docker` were run through `ci/run-docker.sh` successfully, which checks that the size and alignment of definitions match for each triple, among other tests.  (The local build of rust from rust-lang/rust#44779 was set for the aarch64-unknown-linux-musl build.)

I also confirmed that it has "good style!" according to `ci/style.rs`.
2017-09-25 22:34:56 +00:00
Tom Kirchner
b9fdcf9467 Add support for aarch64-unknown-linux-musl
Signed-off-by: Tom Kirchner <tjk@amazon.com>
Signed-off-by: Ben Cressey <bcressey@amazon.com>
2017-09-25 14:30:52 -07:00
bors
209468a673 Auto merge of #781 - jessicah:haiku-fixes-for-nix, r=alexcrichton
Haiku fixes for nix
2017-09-25 19:39:56 +00:00
Jessica Hamilton
0d822be88c unix: remove constants moved into submodules. 2017-09-26 06:35:52 +00:00
Jessica Hamilton
03ed3ff7a9 Move various POLL* and RTLD_LAZY constants into submodules.
Unfortunately, these differ on Haiku, and using #[cfg(...)] is
not allowed in unix/mod.rs.
2017-09-26 06:08:32 +00:00
Jessica Hamilton
086d575925 Revert "POLL*/RTLD_LAZY: definitions differ on Haiku."
This reverts commit f816434f9b.
2017-09-26 06:00:45 +00:00
Jessica Hamilton
f816434f9b POLL*/RTLD_LAZY: definitions differ on Haiku. 2017-09-26 04:09:54 +00:00
Jessica Hamilton
3c91010af0 haiku: add missing definitions found from building nix. 2017-09-26 04:02:03 +00:00
Jessica Hamilton
ee8a490e06 haiku: add openpty/forkpty, and link to libbsd. 2017-09-26 01:01:22 +00:00
Jessica Hamilton
6de9e63431 haiku: define PATH_MAX. 2017-09-26 00:06:28 +00:00
Jessica Hamilton
72ac033a4a haiku: fix incorrect constant for EMFILE. 2017-09-26 00:06:14 +00:00
Jessica Hamilton
7bff2dcdbf haiku: add missing pathconf constants. 2017-09-25 23:28:37 +00:00
bors
d9b8cd1ebd Auto merge of #780 - bgermann:master, r=alexcrichton
Add utimensat for Solaris
2017-09-24 12:47:10 +00:00
bgermann
4a58331883 Add utimensat for Solaris 2017-09-24 11:38:38 +02:00
Jessica Hamilton
7b2ecc6596 haiku: add missing sysconf constants. 2017-09-22 23:12:06 +00:00
bors
4729bc1039 Auto merge of #777 - ekmartin:macos_gettime, r=alexcrichton
Add clock_gettime related functions to macOS

Fixes https://github.com/rust-lang/libc/issues/776. The constants were retrieved on macOS 10.12.6. Tried adding `clock_nanosleep` too, but it doesn't seem like macOS' libc includes that yet.
2017-09-21 20:57:28 +00:00
Martin Ek
585e7528a7 Remove clock_settime from macOS
Doesn't work on iOS.
2017-09-21 19:52:46 +02:00
Martin Ek
ffba97f984 Add clock_gettime related functions to macOS 2017-09-21 17:04:46 +02:00
bors
ef6c2527de Auto merge of #770 - jack-pappas:dccp, r=alexcrichton
Define DCCP constants

This PR defines constants needed to utilize [DCCP](https://en.wikipedia.org/wiki/Datagram_Congestion_Control_Protocol) in Linux and NetBSD.
2017-09-21 03:34:22 +00:00
Jack Pappas
787addfa38 Add DCCP constant definitions. 2017-09-20 21:58:29 -04:00
bors
322e59f065 Auto merge of #769 - redox-os:master, r=alexcrichton
[Redox] add net functions, fcntl, and close

This adds net functions and two file functions: fcntl and close.

It also adds related constants.

The net functions are in a separate file for better organization.
2017-09-20 03:04:39 +00:00
bors
44e4018e1a Auto merge of #772 - raggi:bump231, r=alexcrichton
Bump to 0.2.31
2017-09-20 02:37:24 +00:00
bors
e437dd6dc4 Auto merge of #773 - alexcrichton:update, r=alexcrichton
Tweak x86 gnu images

Apparently the 17.10 image broke?
2017-09-20 01:20:48 +00:00
Alex Crichton
fbfb69b3bc Tweak x86 gnu images
Apparently the 17.10 image broke?
2017-09-19 18:19:35 -07:00
Jeremy Soller
d18565cf6f Fix style 2017-09-19 19:13:27 -06:00
James Tucker
d68943d221 Bump to 0.2.31 2017-09-19 16:51:42 -07:00
bors
9dccabd574 Auto merge of #771 - raggi:fuchsia-zircon, r=alexcrichton
fuchsia: mxio was renamed to fdio

As a side effect of the rename of the Magenta kernel to Zircon, the mxio library was renamed to fdio, and the linker directive needs to be updated.
2017-09-19 21:50:10 +00:00
James Tucker
43ed4ddce8 fuchsia: mxio was renamed to fdio 2017-09-19 14:01:54 -07:00
bors
ba1d2f1f6a Auto merge of #762 - jack-pappas:ipproto, r=alexcrichton
Define additional IPPROTO_* constants.

Define additional IPPROTO_* constants, e.g. for DCCP and SCTP. These constants are standard across all system types -- the values are those assigned to the protocol by the IANA:
https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
2017-09-18 04:12:52 +00:00
Jack Pappas
e8dd192440 Define additional IPPROTO_* constants. 2017-09-17 13:05:20 -04:00
bors
136bf195df Auto merge of #768 - tamird:bring-back-target-vendor, r=alexcrichton
Bring back cfg_target_vendor, which is still used

r? @alexcrichton https://github.com/rust-lang/rust/pull/44515#issuecomment-330036756
2017-09-17 16:42:27 +00:00
Tamir Duberstein
8e26ee6e54
Bring back cfg_target_vendor, which is still used 2017-09-17 07:41:05 -04:00
Jeremy Soller
75b5c29332 Add more net functions for net2 2017-09-16 16:15:40 -06:00