Commit Graph

2909 Commits

Author SHA1 Message Date
gnzlbg
278c56553e Check that more targets build 2019-03-03 18:44:21 +01:00
Mateusz Mikuła
96eb1b234f Bump NFT_*_MAXNAMELEN to 256 for PPC 2019-03-03 18:44:05 +01:00
Mateusz Mikuła
481a521178 Upgrade bunch of EOL docker images to Ubuntu 18.04 2019-03-03 18:43:25 +01:00
bors
8d94e00051 Auto merge of #1292 - hermitcore:master, r=gnzlbg
add HermitCore support even if it doesn't have a UNIX interface

Currently, we redefine the interface between the HermitCore kernel (https://hermitcore.org) and Rust’s standard library. In the future, it will not depend on a POSIX-compatible C library. Consequently, we add the support of HermitCore if the "unix" environment isn’t set. It will be great to integrate this patch because it would simplify our development. The classical interface is still supported and part of the subdirectory "unix".
2019-03-03 16:32:26 +00:00
Stefan Lankes
14353e8101 remove obsolete definition of gid_t and uid_t 2019-03-03 16:24:54 +01:00
bors
234f9a6569 Auto merge of #1293 - humenda:master, r=gnzlbg
x86_64-uclibc-l4re: fix syntax error + linter issues

-   fix syntax error in expand_align macro
-   fix errors due to doubly defined symbols / functions for
    x86_64-uclibc
2019-03-03 15:18:25 +00:00
Stefan Lankes
5d185569ac remove unused variables 2019-03-03 15:15:06 +01:00
Stefan Lankes
be35992bb5 add missing debug trait for sockaddr_storage 2019-03-03 14:23:37 +01:00
bors
2c278d12a0 Auto merge of #1295 - semarie:openbsd-vm_size_t, r=gnzlbg
vm_size_t does not exist on OpenBSD and Bitrig

unbreak openbsd and bitrig after #1294

r? @gnzlbg
2019-03-03 09:17:24 +00:00
Stefan Lankes
cab10b4790 add missing traits like Debug 2019-03-03 10:02:12 +01:00
Sébastien Marie
887ac11ed0 vm_size_t does not exist on OpenBSD 2019-03-03 06:50:23 +01:00
Stefan Lankes
52bb152444 allowd unused types ggid_t and uuid_t 2019-03-03 01:34:02 +01:00
bors
b166b11c38 Auto merge of #1294 - GuillaumeGomez:vm-size-t, r=gnzlbg
Add vm_size_t
2019-03-03 00:08:19 +00:00
Guillaume Gomez
9f3c8b3063 Add vm_size_t 2019-03-03 01:02:46 +01:00
Stefan Lankes
682b8af286 add target "hermit" to build.sh 2019-03-03 00:39:31 +01:00
Stefan Lankes
585d45a1f3 remove redefinition of c_char and w_char, remove typo 2019-03-02 20:18:52 +01:00
Sebastian Humenda
3c8a4932a4 fix style issue 2019-03-02 19:47:53 +01:00
Sebastian Humenda
2c18025f88 x86_64-uclibc-l4re: fix syntax error + linter issues
-   fix syntax error in expand_align macro
-   fix errors due to doubly defined symbols / functions for
    x86_64-uclibc
2019-03-02 19:09:17 +01:00
bors
f54a0a1056 Auto merge of #1291 - semarie:openbsd-pthread-stack-min, r=gnzlbg
adjust PTHREAD_STACK_MIN to current value on OpenBSD

adjust `PTHREAD_STACK_MIN` to current value on OpenBSD, and while here, generate the right file in test_openbsd()

I should say that I am a bit disappointed. If I didn't miss anything, the related change for `PTHREAD_STACK_MIN` is near to one year old. And clearly with the name error in `test_openbsd()` something wasn't clean.
2019-03-02 13:20:28 +00:00
Stefan Lankes
6e9536924a Merge remote-tracking branch 'rustlang/master' 2019-03-02 13:33:48 +01:00
Stefan Lankes
92b24f5f63 add HermitCore support even if it doesn't have a UNIX interface 2019-03-02 13:29:16 +01:00
Sébastien Marie
917ff60a4b adjust PTHREAD_STACK_MIN to current value on OpenBSD
while here, generate the right file in test_openbsd()
2019-03-02 13:14:17 +01:00
bors
7644a1f7b6 Auto merge of #1290 - gnzlbg:doc_link, r=gnzlbg
Link docs for other platforms in docs.rs
2019-03-02 11:03:03 +00:00
gnzlbg
e67dcdbccb Link docs for other platforms in docs.rs 2019-03-02 11:13:32 +01:00
bors
1236fed394 Auto merge of #1154 - gnzlbg:semverver2, r=gnzlbg
Verify that only non-technical breaking changes are applied to libc

Closes #270 .

cc @alexcrichton so this would be a solution to #270 that uses rust-semverver to check that the API of `libc` contains only non-technical breaking changes.

This is a WIP and uses a fork of `rust-semverver` for now, but I've sent PRs upstream already. This is the only idea I have for solving #270 . `rust-semverver` is not perfect, but it can deal with functions, consts, and simple structs just fine, and that's pretty much everything that libc uses.

cc @ibabushkin

Some other notes:

* we have to compile `rust-semverver` for each toolchain version, and it depends on `cargo` so we have to build ~160 dependencies. Using `cache: cargo` breaks everything.
2019-03-02 10:11:51 +00:00
gnzlbg
d6443f7abe Use semverver upstream 2019-03-01 20:34:22 +01:00
bors
2cd7b3bdea Auto merge of #1288 - red75prime:pr-uclibc-arm, r=gnzlbg
Add arm-uclibc definitions

I used `buildroot-2017.05` to build armv7 cross compiler, `uclibc-1.0.24` and `libc-test`. I've executed `libc-test` on armv7-based SoC, using modified `libc-test` to account for the environment. Modified libc-test is not included in this PR because it is too dependent on cross compilation and execution environment.
2019-03-01 14:17:51 +00:00
red75prime
a06a703f38 Fix style 2019-02-28 20:28:38 +05:00
red75prime
982224f000 Fix formatting 2019-02-28 20:04:38 +05:00
bors
804e8d128e Auto merge of #1287 - red75prime:pr-uclibc-mips32-align, r=gnzlbg
Fix typo in `sem_t` alignment for mips32-uclibc
2019-02-28 14:40:11 +00:00
red75prime
4f9791028a Add arm-uclibc definitions 2019-02-28 18:41:56 +05:00
red75prime
d17870a8e7 Fix typo in sem_t alignment 2019-02-28 18:00:33 +05:00
gnzlbg
7f163f5d54 Allow the Semver jobs to fail 2019-02-26 16:50:59 +01:00
gnzlbg
45c7930318 Test semver for all normal targets 2019-02-26 16:45:06 +01:00
gnzlbg
6fac01b7bf Verify that only non-technical breaking changes are applied to libc
Closes #270 .
2019-02-26 12:03:47 +01:00
bors
b905aef340 Auto merge of #1281 - semarie:openbsd-test, r=gnzlbg
cleanup libc-test for OpenBSD

here a cleanup for libc-test for OpenBSD

Some elements (compat for old and now unsupported OpenBSD versions) could be removed, but I think it is better to address them after this PR is merged.

the testsuite for OpenBSD still pass with it (well, with #1280)

r? @gnzlbg
2019-02-24 17:27:39 +00:00
bors
841dbe36a5 Auto merge of #1280 - semarie:openbsd-glob_t, r=gnzlbg
openbsd: glob_t recently changed to conform posix (use size_t)

on openbsd, upcoming stable version have changed glob_t definition to follow posix definition (using `size_t` instead of `int` on some fields)

the change preserves bitrig definition

r? @gnzlbg
2019-02-24 15:57:22 +00:00
Sébastien Marie
91748de469 cleanup libc-test for OpenBSD 2019-02-24 15:47:06 +01:00
bors
7abe407e54 Auto merge of #1279 - gnzlbg:cleanup_redox_cloudabi, r=gnzlbg
Clean up Redox, CloudABI, DragonflyBSD, and NetBSD in libc-test/build.rs
2019-02-24 14:32:42 +00:00
gnzlbg
722b3e5337 Formatting 2019-02-24 15:14:02 +01:00
gnzlbg
70e0c4e877 Cleanup DragonflyBSD in libc-test/build.rs 2019-02-24 15:13:47 +01:00
gnzlbg
87f10ab9ee Cleanup NetBSD logic in libc-test/build.rs 2019-02-24 15:02:08 +01:00
gnzlbg
09afebe655 Clean up Redox, Solaris, and CloudABI 2019-02-24 14:38:01 +01:00
Sébastien Marie
568d40f0eb glob_t recently changed to conform posix (use size_t) 2019-02-24 14:24:46 +01:00
bors
66f00d2ebb Auto merge of #1271 - Susurrus:more_debug_impls, r=gnzlbg
Implement more extra_traits

Finishing the implementation of rust-lang/rust#57715 now that all platforms are tested in CI. I plan to expand this CI to all platforms that need this treatment (solarish, empscripten, freebsd, and netbsd), but thought I'd get the part I've already started running in CI since I can't test this changes locally.
2019-02-24 13:19:56 +00:00
bors
2ea72069e2 Auto merge of #1275 - gnzlbg:win_clean, r=gnzlbg
Cleanup Windows libc-test build.rs
2019-02-24 12:15:55 +00:00
gnzlbg
0980cf593a Cleanup Windows libc-test build.rs 2019-02-24 13:11:14 +01:00
bors
a5c20d6451 Auto merge of #1278 - ischeinkman:master, r=gnzlbg
Newlib fixes.
2019-02-24 09:05:48 +00:00
ischeinkman
372ae7953f Removed repeated IPPROTO constants. 2019-02-23 15:59:20 -08:00
Bryant Mairs
d795b07841 Add extra traits for solarish datatypes 2019-02-23 15:03:52 -08:00