gnzlbg
bee2611368
Remove conflicting linux/netfilter_ipv4.h header file due to conflicting definitions
2019-05-16 09:15:11 +02:00
gnzlbg
26d919382c
Warn users of gettimeofday of potential breaking change
2019-05-16 09:15:11 +02:00
gnzlbg
3956bf056b
Skip verification of gettimeofday on FreeBSD
2019-05-16 09:15:11 +02:00
Inokentiy Babushkin
e8cbf2b3dd
Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts.
...
Both are linux-specific additions, and supported since kernel version
4.17 and 4.15, respectively.
2019-05-15 15:26:44 +02:00
gnzlbg
18bf94c6eb
Update all remaining targets to Ubuntu 18.04
2019-05-14 12:00:45 +02:00
gnzlbg
ac90c574e5
Refactor Linux target
2019-05-14 12:00:45 +02:00
gnzlbg
b976dc2055
Refactor FreeBSD target
2019-05-14 12:00:45 +02:00
gnzlbg
3c2284c435
Remove OpenBSD-related dead-code
2019-05-14 12:00:45 +02:00
gnzlbg
89a3d03aa7
Update Android Docker images Ubuntu version
2019-05-14 10:06:45 +02:00
gnzlbg
0af80cae53
Refactor Android target
2019-05-14 10:06:23 +02:00
leo60228
a92266b0fe
Build Switch on CI
2019-05-10 10:28:18 -04:00
leo60228
62ad61f973
Fix accidental syntax error (oops)
2019-05-09 19:12:02 -04:00
leo60228
6bc0914be2
Fix FIONBIO type
2019-05-09 19:11:04 -04:00
leo60228
5400c6e695
Add more FreeBSD TCP_ constants
2019-05-09 19:10:38 -04:00
leo60228
75df0e19eb
Add more FreeBSD IPv6 constants
2019-05-09 19:08:42 -04:00
leo60228
5d91cb3409
Add FIOCLEX
2019-05-09 19:03:12 -04:00
leo60228
e3c95f143b
Add IP_ and IPV6_
2019-05-09 19:02:53 -04:00
leo60228
c8e8ec6f23
Use FreeBSD SO_ constants on newlib
...
This is necessary to set socket options on the Nintendo Switch, which uses a socket implementation directly ported from FreeBSD.
2019-05-09 18:34:16 -04:00
Jeremy Soller
eb75c48917
Move Redox support into unix module
2019-05-04 09:01:03 -06:00
bors
39ca01c8b3
Auto merge of #1331 - gnzlbg:revert_1322, r=alexcrichton
...
Revert PR 1322
Reverts PR #1322 .
cc https://github.com/rust-lang/rust/pull/60117
2019-05-02 16:46:11 +00:00
gnzlbg
3231740da4
Bump patch version to 0.2.54
2019-05-02 18:33:25 +02:00
gnzlbg
20dc89c36e
Revert PR: 1322
2019-05-02 18:32:52 +02:00
bors
11f30a8837
Auto merge of #1329 - alex:patch-1, r=gnzlbg
...
Deprecate _pad field on siginfo_t
As discussed in https://github.com/rust-lang/libc/pull/1316
2019-05-02 08:08:46 +00:00
Alex Gaynor
9b43adea00
Oops, move this outside the s! block
2019-05-01 12:17:56 +00:00
Alex Gaynor
53591a693a
Implement si_addr
2019-05-01 12:14:42 +00:00
Alex Gaynor
7c2f669af0
Deprecate _pad field on siginfo_t
2019-04-30 22:47:21 -04:00
bors
e2bf06c1fb
Auto merge of #1328 - crlf0710:master, r=gnzlbg
...
Fix getgrgid_r to accept gid_t.
Closes #1320 .
2019-04-29 15:31:08 +00:00
Charles Lew
1cf0294e2d
Fix getgrgid_r to accept gid_t.
2019-04-29 22:12:41 +08:00
bors
f9818f14f8
Auto merge of #1326 - sunfishcode:bump, r=alexcrichton
...
Bump to 0.2.53
This adds more WASI support, and in particular adds support for WASI
being a target_os rather than a target_env, which relates to this PR:
https://github.com/rust-lang/rust/pull/60117
2019-04-26 13:28:44 +00:00
Dan Gohman
6ec8c23e5e
Bump to 0.2.53
...
This adds more WASI support, and in particular adds support for WASI
being a target_os rather than a target_env, which relates to this PR:
https://github.com/rust-lang/rust/pull/60117
2019-04-26 00:21:50 -07:00
bors
0ec9af989c
Auto merge of #1325 - sunfishcode:wasi-more-libc, r=alexcrichton
...
Add more WASI libc bindings
This picks up #1321 , adding more WASI libc bindings, adding several more fixes. In particular, `cargo test --all` including libc-test now builds successfully.
2019-04-25 06:04:19 +00:00
Dan Gohman
13ddc16e06
Remove utsname and uname for now too.
2019-04-24 11:28:45 -07:00
Dan Gohman
599c0f76dd
Remove fd_set, select, and pselect entirely for now.
...
fd_set isn't automatically copyable. While it will be possible to fix
that, for now just remove these so that they don't block other changes.
2019-04-24 08:09:15 -07:00
Dan Gohman
7ba5e34754
Remove the definition of ULONG_SIZE which is no longer needed.
2019-04-24 06:16:28 -07:00
Dan Gohman
4d0e84b8be
Use the WASI layout for fd_set.
2019-04-24 05:40:34 -07:00
Dan Gohman
edd541e67f
Remove FD_SET and related functions for now.
2019-04-23 23:10:38 -07:00
Dan Gohman
8a5b230c14
Update to the latest wasi-sysroot.
...
This contains several fixes, including the FD_ISSET signature change
that the previous patch in this PR needs.
2019-04-23 21:01:39 -07:00
Dan Gohman
ef7ae73239
Fix dirent to match WASI libc's definition.
...
dirent contains a flexible array member, so don't test its sizeof, don't
allow it to be copied, and don't represent it with an artificial size.
2019-04-23 15:03:23 -07:00
Dan Gohman
a625c69544
Make FD_ISSET's argument a pointer to const, to match the libc declaration.
2019-04-23 15:03:23 -07:00
Dan Gohman
6b524b36c8
Don't make opaque types like FILE and DIR copyable.
...
Also, locale_t is a typedef for a pointer to an opaque struct, so
represent it that way explicitly.
2019-04-23 15:03:23 -07:00
Dan Gohman
49c0dc98d0
Don't add "struct" to "DIR" or "fd_set".
2019-04-23 15:03:23 -07:00
Dan Gohman
30ed9835ed
Recognize WASI as either a target_env or a target_os.
...
Rustc is changing it to be target_os; for now, recognize both.
2019-04-23 15:03:23 -07:00
Dan Gohman
3aa0188f1d
Add headers for WASI to libc-test/build.rs
2019-04-23 15:03:23 -07:00
Dan Gohman
1168782b3f
Define WASI libc errno constants.
2019-04-23 13:26:30 -07:00
Dan Gohman
58ba8129c4
Add more WASI libc bindings.
2019-04-23 13:26:30 -07:00
bors
fa186bb2b4
Auto merge of #1323 - jackpot51:patch-1, r=gnzlbg
...
Bump to 0.2.52
This will allow the crt-static feature to be utilized correctly on Redox, #1322
2019-04-20 08:07:41 +00:00
bors
dfda3b0d01
Auto merge of #1319 - jasonbking:readdir, r=gnzlbg
...
This fixes issue #1318 - on Solarish systems __posix_readdir_r is only
defined for 32-bit Solarish targets. Since rust doesn't currently support 32-bit Solarish targets, the line is both unnecessary and wrong.
As found with the latest fd binary, removing the line fixed the fd build (and fd then works as expected).
2019-04-20 07:11:00 +00:00
Jeremy Soller
7454238394
Bump to 0.2.52
2019-04-19 17:38:03 -06:00
bors
a79c2d4d78
Auto merge of #1322 - redox-os:redox, r=gnzlbg
...
redox: support crt-static
This reuses the code from musl to add support to Redox for crt-static.
Linking to `m` is also unnecessary as it is included in `c`
2019-04-19 18:45:37 +00:00
Jeremy Soller
319b7b5b4c
Fix style issue
2019-04-19 11:57:52 -06:00