gnzlbg
54fcb89354
Add missing sysctl header to freebsd tests
2019-05-16 09:15:11 +02:00
gnzlbg
9da2fd5ace
Add missing utmpx.h header to freebsd tests
2019-05-16 09:15:11 +02:00
gnzlbg
dc7311bec7
Include aio.h before sys/mount.h on linux
2019-05-16 09:15:11 +02:00
gnzlbg
426f91bd25
Fix typo in Linux checking
2019-05-16 09:15:11 +02:00
gnzlbg
bb2f29641a
Add missing netinet/ip.h header
2019-05-16 09:15:11 +02:00
gnzlbg
0f96e543b1
Remove conflicting linux/netfilter_ipv6.h header file due to conflicting definitions
2019-05-16 09:15:11 +02:00
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
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
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
Jeremy Soller
c6ea443892
Support crt-static in Redox
2019-04-19 11:04:48 -06:00
Jason King
e45fa4a217
Put comments in the correct location
2019-04-19 15:35:51 +00:00
Jason King
d79a44f35c
Added doc comment w/ links explaining the difference between 32-bit and 64-bit libc for readdir_r
2019-04-19 15:33:24 +00:00
Jason King
1c1e677a90
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.
2019-04-17 19:12:06 +00:00