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
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
bors
4689af9b7b
Auto merge of #767 - alexcrichton:us-west-1, r=alexcrichton
...
Update s3 download locations
2017-09-16 16:14:28 +00:00
Alex Crichton
050d8c8b0f
Update s3 download locations
2017-09-16 09:13:07 -07:00
bors
d5236b0b91
Auto merge of #761 - LeoTindall:add_linux_iff_constants, r=alexcrichton
...
Add additional interface flags (IFF_)
Adds the three missing IFF_ constants (IFF_LOWER_UP, IFF_DORMANT, and IFF_ECHO) per nix-rust/nix#764
2017-09-12 19:39:52 +00:00
SilverWingedSeraph
6f170efdcf
Prevent testing linux/if.h definitions on musl targets
2017-09-12 12:39:09 -05:00
bors
703ae4ff93
Auto merge of #764 - tamird:cargo-feature-stdbuild, r=alexcrichton
...
Make stdbuild a cargo feature
Also invert the default feature / no std arrangement. The default
still uses std, but no_std now requires opt-in instead of opt-out.
This is work toward removing the shim in rustc.
2017-09-12 14:17:04 +00:00
SilverWingedSeraph
121795e34c
Add tests for linux/if.h for additional IFF_ flags
...
Also remove unneeded platform gating
2017-09-12 09:15:45 -05:00
Tamir Duberstein
8a7069f91e
Make stdbuild a cargo feature
2017-09-12 09:48:21 -04:00
Tamir Duberstein
0b2fe458a1
Prune features used by stdbuild
2017-09-11 21:15:01 -04:00
Tamir Duberstein
8d14ac5e55
Whitespace
2017-09-11 21:14:38 -04:00
SilverWingedSeraph
cf590691fb
Make additional IFF_ constants conditional on processor architecture.
2017-09-10 09:38:09 -05:00
SilverWingedSeraph
bbed813c17
Move extra IFF_ definitions to be Linux only.
2017-09-10 08:35:51 -05:00
SilverWingedSeraph
f533729267
Add additional interface flags (IFF_)
2017-09-09 21:44:37 -05:00
bors
82cae67621
Auto merge of #759 - slyrz:master, r=alexcrichton
...
Add timerfd API on Linux
This change adds the Linux-specific timerfd API to libc.
```C
#include <sys/timerfd.h>
int timerfd_create(int clockid, int flags);
int timerfd_gettime(int fd, struct itimerspec *curr_value);
int timerfd_settime(int fd, int flags,
const struct itimerspec *new_value,
struct itimerspec *old_value);
```
The timerfd API has been available since kernel 2.6.25 and in glibc since version 2.8.
I'm not sure if I put the changes in the right places, so please review with great care.
2017-09-09 21:51:54 +00:00
slyrz
de6fa494af
Map timerfd constants to their fcntl counterparts
2017-09-09 20:41:09 +02:00
bors
1f2748a58e
Auto merge of #760 - JayH5:linux-initgroups, r=alexcrichton
...
Linux/Android: re-add initgroups
This was removed in #742
2017-09-09 16:06:01 +00:00
Jamie Hewland
6da0389cba
Linux/Android: re-add initgroups
2017-09-09 15:38:15 +02:00
slyrz
340cbbfe75
Add timerfd API on Linux
...
This change adds the Linux-specific timerfd API to libc.
2017-09-09 13:02:29 +02:00
Alex Crichton
95848f9622
Merge pull request #758 from humenda/uclibc_networking
...
Add networking symbols for uclibc/x86_64
2017-09-06 13:39:22 -05:00
Alex Crichton
39dba5f15a
Merge pull request #755 from bgermann/master
...
Add Solaris 10 support
2017-09-06 13:39:10 -05:00
Alex Crichton
2d934159ee
Merge pull request #756 from jessicah/haiku-updates
...
Haiku updates
2017-09-06 13:38:59 -05:00
Sebastian Humenda
dee3699228
Add networking symbols for uclibc/x86_64
2017-09-06 16:26:18 +02:00
bors
db2c565a4a
Auto merge of #757 - alexcrichton:no-cache, r=alexcrichton
...
Remove caching and fix FreeBSD tests
2017-09-06 13:57:15 +00:00
Alex Crichton
d2044231dc
Remove caching and fix FreeBSD tests
2017-09-05 20:18:21 -07:00
bgermann
eac505625b
Add pthread_create for Solaris
2017-09-04 20:55:50 +02:00
Jessica Hamilton
17c74f499d
haiku: res_init link name is __res_init.
2017-09-03 16:29:19 -05:00
Jessica Hamilton
07a430325c
haiku: add missing POSIX errors, reorder to match header.
2017-09-03 16:29:19 -05:00
Jessica Hamilton
b24c5888cd
haiku: add missing SOCK_SEQPACKET.
2017-09-03 16:29:19 -05:00
Jessica Hamilton
ab7925f8ea
haiku: add missing pthread_create.
2017-09-03 16:29:19 -05:00