Commit Graph

2793 Commits

Author SHA1 Message Date
bors
fecc1fd607 Auto merge of #1268 - alexcrichton:fix-features, r=gnzlbg
Fix build of `rustc-dep-of-std` feature

Enusre that `no_core` is turned on, and while here update the `no_std`
header to be unconditionally applied.

Closes #1267
2019-02-21 20:52:11 +00:00
Alex Crichton
5049a97111 Fix build of rustc-dep-of-std feature
Enusre that `no_core` is turned on, and while here update the `no_std`
header to be unconditionally applied.

Closes #1267
2019-02-21 10:57:44 -08:00
bors
577fdc86b2 Auto merge of #1248 - Ralith:flowinfo, r=gnzlbg
Expose IPV6_FLOWINFO* on Linux
2019-02-21 09:21:11 +00:00
gnzlbg
dda85056bf Fix broken links in README 2019-02-21 10:18:06 +01:00
gnzlbg
cd49efc997 Fix typo in README; do not generate .nojekyll file in gh-pages branch 2019-02-21 08:46:25 +01:00
bors
5cefa3a2c3 Auto merge of #1263 - gnzlbg:no_core_build, r=gnzlbg
Test that targets without a shipping libcore / libstd build properly

This PR tests that `libc` builds on targets that currently don't ship a `libcore`/`libstd` by cross-compiling to them from Linux and MacOSX using `Xargo`.

This fixes the build on DragonflyBSD (superseeds #1237), Haiku, bitrig, and OpenBSD (superseeds #1259).

cc @asomers @strangelittlemonkey @semarie
2019-02-20 23:05:11 +00:00
gnzlbg
a25a42be76 Speed up documentation build by using cargo when possible 2019-02-20 18:42:34 +01:00
gnzlbg
575fdc8c0d Do not try to build documentation for apple targets from Linux 2019-02-20 17:57:01 +01:00
gnzlbg
7017701b21 Re-enable target-specific docs 2019-02-20 15:27:57 +01:00
gnzlbg
863d703910 Retry downloading artifacts to prevent spurious failures due to network issues 2019-02-20 13:01:00 +01:00
gnzlbg
5f9be7eebe Remove the CMSG_ APIs from bitrig 2019-02-20 11:22:43 +01:00
gnzlbg
7da4f477d0 cross-compile to the gnu windows targets on nightly with libstd 2019-02-20 11:21:38 +01:00
gnzlbg
6a6dd26447 Only fetch std component when there is something to fetch 2019-02-20 11:21:38 +01:00
gnzlbg
e3914cf31a Make the build script fail faster 2019-02-20 11:21:38 +01:00
gnzlbg
9bdc5122da The armv7r targets are not available on nightly 2019-02-20 11:21:38 +01:00
gnzlbg
34dd2da3f9 Run xargo only on Linux 2019-02-20 11:21:38 +01:00
gnzlbg
9a1d1f6445 Remove more documentation cruft 2019-02-20 11:21:38 +01:00
gnzlbg
971027d535 Fix bitrig build 2019-02-20 11:21:38 +01:00
gnzlbg
1c264bdafa Fix use of std:: in the OpenBSD-like module 2019-02-20 11:21:38 +01:00
gnzlbg
2e2e4e10c3 Fix unclosed delimiter in openbsd 2019-02-20 11:21:38 +01:00
gnzlbg
0180e40f22 Libcore fails to build for sparc-unknown-linux-gnu 2019-02-20 11:21:38 +01:00
gnzlbg
bbe4571216 Remove non-existent uclib targets 2019-02-20 11:21:38 +01:00
gnzlbg
2130d45fb1 Fix Haiku build 2019-02-20 11:21:38 +01:00
gnzlbg
dcf20b75d4 Fix DragonflyBSD build 2019-02-20 11:21:38 +01:00
gnzlbg
0ffba9f96b Test that targets without a libstd component build on CI using xargo 2019-02-20 11:21:38 +01:00
bors
c2904a70fa Auto merge of #1261 - glebpom:master, r=gnzlbg
Add AF_ALG constants and structures
2019-02-20 08:43:11 +00:00
Gleb Pomykalov
bce3ee3e71 Properly implement Debug for AF_ALG structures 2019-02-20 01:04:50 +03:00
Gleb Pomykalov
2e5358ae60 Revert "Improve Debug for AF_ALG structures"
This reverts commit ae2663a7db.
2019-02-20 00:10:35 +03:00
Gleb Pomykalov
ae2663a7db Improve Debug for AF_ALG structures 2019-02-19 23:41:52 +03:00
Gleb Pomykalov
c35d8fbfbe Uncomment salg_type from socket_alg debug_struct 2019-02-19 18:17:25 +03:00
Gleb Pomykalov
34c96d74e1 Add comment on ALG_SET_AEAD_* exclusion 2019-02-19 18:14:01 +03:00
Gleb Pomykalov
d0f4c6e0fc Ignore ALG_SET_AEAD_* constants on MUSL tests 2019-02-19 16:35:25 +03:00
bors
501ca548b2 Auto merge of #1256 - vdagonneau:master, r=gnzlbg
Moved inotify declarations up so that it works on android too.

Following my previous pull request to include inotify bindings, I would like to move the code so that it benefits android too.
2019-02-19 10:17:40 +00:00
Gleb Pomykalov
d6fe4f5463 fix unsafe blocks 2019-02-19 12:51:58 +03:00
Vincent Dagonneau
d25a054afe Removed trailing spaces. 2019-02-19 10:35:07 +01:00
vdagonneau
52e1d0f38d
Merge branch 'master' into master 2019-02-19 10:19:50 +01:00
Vincent Dagonneau
87b813a7cf Moved inotify_rm_watch out of the generic notbsd target and into specific linux and android targets because the second argument has a different type in android and linux. 2019-02-19 09:38:56 +01:00
Gleb Pomykalov
3ec632cbd9 fix as_slice for af_alg_iv 2019-02-19 10:46:05 +03:00
Gleb Pomykalov
97b5b3494b improve naming 2019-02-18 22:35:42 +03:00
Gleb Pomykalov
b08ae2ccd6 Remove empty lines 2019-02-18 22:27:25 +03:00
Gleb Pomykalov
11e33a9a55 Implement traits for af_alg_iv 2019-02-18 22:22:03 +03:00
bors
315e600acd Auto merge of #1231 - dholroyd:mmsg-support, r=gnzlbg
Broader sendmmsg() / recvmmsg() support

As a prerequisite for getting `sendmmsg()` / `recvmmsg()` into nix ( https://github.com/nix-rust/nix/pull/1017 ), support for non-linux platforms needs to be added in libc.

The initial commits in this PR will just be to test out target support via CI.
2019-02-18 17:22:08 +00:00
Gleb Pomykalov
f2101727d7 remove SOL_ALG from android (already defined in notbsd) 2019-02-18 20:00:05 +03:00
Gleb Pomykalov
7e3cacbceb fix missprint 2019-02-18 19:04:27 +03:00
bors
0e1fbe33e9 Auto merge of #1257 - vi:ORIGDSTADDR, r=gnzlbg
Add IP_ORIGDSTADDR and others on FreeBSD.

A follow-up from #1252.

CC @asomers.

r? @gnzlbg
2019-02-18 16:00:56 +00:00
Gleb Pomykalov
97ca63fd37 Move AF_ALG constants and structs to both android and linux 2019-02-18 18:50:07 +03:00
Vincent Dagonneau
f09346cd84 Modified includes in libc_test to make it work on android. 2019-02-18 16:23:47 +01:00
Gleb Pomykalov
32226f5d85 Include if_alg.h. Limit AF_ALG constants to only linux and android. 2019-02-18 18:19:29 +03:00
bors
d7a1995a87 Auto merge of #1260 - nbaksalyar:add-missing-solaris-fns, r=gnzlbg
Add missing group entry functions for Solaris/Illumos

This commit adds definitions for `setgrent`, `endgrent`, and `getgrent` which were missing (but available for FreeBSD and other *nix systems).
2019-02-18 14:36:40 +00:00
bors
bf749e667c Auto merge of #1262 - gnzlbg:rustfmt_fail, r=gnzlbg
Allow installing rustfmt component to fail
2019-02-18 12:53:20 +00:00