summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Set up CI with Azure Pipelinesazure-pipelinesAlex Crichton2019-05-281-0/+19
| | | [skip ci]
* Auto merge of #1373 - gnzlbg:cleanup_emscripten, r=gnzlbgbors2019-05-2814-218/+129
|\ | | | | | | Re-enable emscripten on CI and cleanup its libc-test
| * Re-enable wasm32-unknown-emscripten on CIgnzlbg2019-05-281-1/+0
| |
| * Document SIGUNUSED deprecation on Androidgnzlbg2019-05-281-2/+2
| |
| * Minor nitpicksgnzlbg2019-05-286-19/+29
| |
| * Update values of some emscripten constantsgnzlbg2019-05-281-2/+2
| |
| * [breaking change] remove constants that are unavailable in emscriptengnzlbg2019-05-282-7/+2
| |
| * [breaking change] sendmmsg/recvmmsg have incorrect signature c_int vs c_uint ↵gnzlbg2019-05-282-2/+5
| | | | | | | | on emscripten
| * [breaking change] sockaddr_nl is not available on emscriptengnzlbg2019-05-283-32/+64
| |
| * Enable disabled testsgnzlbg2019-05-282-150/+16
| |
| * update emscriptengnzlbg2019-05-283-4/+10
|/
* Auto merge of #1365 - gnzlbg:cleanup_linux, r=gnzlbgbors2019-05-2845-478/+605
|\ | | | | | | | | | | | | | | | | | | | | [breaking change] Cleanup linux and update MUSL * Update MUSL kernel headers to 4.4.2 (non-breaking) * [breaking] `MADV_SOFT_OFFLINE` is not defined on MIPS * [breaking] `sendmmsg`/`recvmmsg` take an `unsigned int` flag on MUSL * [breaking] `pthread_t` is a pointer on MUSL * `rlimit` resources should use a type alias on GNU (non-breaking) * Deprecate `SIGNUNUSED` (should use SIGSYS instead)
| * [breaking change] sendmmsg/recvmmsg flag argument is an unsigned integer on MUSLgnzlbg2019-05-2813-80/+95
| |
| * bump kernel headers to 4.4.2-2gnzlbg2019-05-2711-25/+88
| |
| * [breaking change] MADV_SOFT_OFFLINE is undefined on MIPSgnzlbg2019-05-2713-6/+34
| |
| * Update MUSL Linux kernel headers and re-enable Linux testsgnzlbg2019-05-2742-445/+466
| |
* | Auto merge of #1371 - Susurrus:mq_attr, r=gnzlbgbors2019-05-276-97/+316
|\ \ | | | | | | | | | | | | | | | | | | | | | Manually implement extra traits for `mq_attr` and `sockaddr_nl` Avoid including padding fields in extra trait implementations as these fields aren't guaranteed to be 0 or some other sensible value. Closes #1302
| * | Ignore padding for `sockaddr_nl` structBryant Mairs2019-05-273-21/+96
| | | | | | | | | | | | | | | | | | `nl_pad` field does not contain any actual data, so using it for comparison or hashing doesn't make sense. Instead manually implement extra traits ignoring this field.
| * | Ignore padding for mq_attrBryant Mairs2019-05-275-76/+220
| |/ | | | | | | | | | | | | The `pad` or `__reserved` fields are not always 0 on some platforms, so when used in the `PartialEq` implementation being used, fails some comparisons. This commit manually implements the extra traits to correct this behavior.
* | Auto merge of #1370 - alesharik:master, r=gnzlbgbors2019-05-272-14/+14
|\ \ | |/ |/| | | Fix SA_* constants for `sigaction` in Android
| * Fix SA_* constants for `sigaction` in AndroidalesharikReserv@yandex.ru2019-05-272-14/+14
|/
* Merge pull request #1346 from gnzlbg/simplify_freebsdgnzlbg2019-05-2617-421/+710
|\ | | | | Clean up libc-test/build.rs for FreeBSD and enable testing FreeBSD12 on CI
| * Add a FreeBSD 12 build job and test FreeBSD12 APIsgnzlbg2019-05-2417-421/+698
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits adds a second FreeBSD 12 build job, and splits the implementation of the FreeBSD module into two modules, one for FreeBSD 11, and one for FreeBSD 12. The FreeBSD 11 module is compiled always by default, and is mostly forward compatible with FreeBSD 12 systems. The FreeBSD 12 module is only built for now in libc's CI, and uses FreeBSD 12 data types and APIs, linking to symbols that are only available in FreeBSD 12. Basically, when LIBC_CI env variable is defined, and the host system is a FreeBSD 12 system, then the FreeBSD 12 module is automatically built and tested. Conditional compilation is done using a `cfg(freebsd12)` flag. This commit also re-enables many tests, and documents why some remain disabled.
| * Add a nightly FreeBSD Cirrus-CI taskgnzlbg2019-05-241-3/+15
| |
* | Auto merge of #1364 - gnzlbg:deprecate_mach, r=gnzlbgbors2019-05-252-99/+167
|\ \ | | | | | | | | | | | | | | | | | | | | | Deprecate mach APIs: users should use the `mach` crate instead. See #981, the mach APIs have breaking changes from MacOSX SDK release to release, and that's pretty much what the users are seeing here. We are currently not exposing that many `mach` APIs in `libc`, so this PR deprecates them, forwarding users to use the `mach` crate instead, which provides the mach user-space APIs, is tested against multiple SDK versions, handles removed/deprecated/breaking API changes/etc. Doing all of that in `libc` feels overkill. Closes #981 .
| * | Deprecate mach APIs: users should use the `mach` crate instead.gnzlbg2019-05-242-99/+167
| | | | | | | | | | | | Closes #981 .
* | | Auto merge of #1358 - pkubaj:patch-1, r=gnzlbgbors2019-05-251-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | Add powerpc64-unknown-freebsd target Per https://github.com/rust-lang-nursery/stdsimd/pull/765 add powerpc64-unknown-freebsd to prevent further breakages.
| * | | Move aarch64 and powerpc64 targets for FreeBSDpkubaj2019-05-251-2/+2
| | | | | | | | | | | | Move to LINUX_NO_CORE_TARGETS per gznlbg's suggestion.
| * | | Move aarch64 and powerpc64 targets for FreeBSDpkubaj2019-05-241-2/+2
| | | | | | | | | | | | Move to RUST_NIGHTLY_LINUX_TARGETS per gznlbg's suggestion.
| * | | Add aarch64-unknown-freebsd to CIpkubaj2019-05-231-0/+1
| | | |
| * | | Add powerpc64-unknown-freebsd targetpkubaj2019-05-231-0/+1
| | | | | | | | | | | | Per https://github.com/rust-lang-nursery/stdsimd/pull/765 add powerpc64-unknown-freebsd to prevent further breakages.
* | | | Auto merge of #511 - malbarbo:android_sa, r=gnzlbgbors2019-05-253-8/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Fix android SA_* constants Trying to crosscompile wait-timeout to armv7-linux-androideabi I found that SA_* had different types in libc, but they have to be the same because they are used in bitwise operations.
| * | | | Fix android SA_* constantsMarco A L Barbosa2019-02-203-8/+18
| | | | |
* | | | | Auto merge of #503 - TethysSvensson:fix-mode, r=gnzlbgbors2019-05-251-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Set the type for S_ISUID, S_ISGID and S_ISVTX correctly
| * | | | | Set the type for S_ISUID, S_ISGID and S_ISVTX correctlyMathias Svensson2019-03-031-3/+3
| | | | | |
* | | | | | Auto merge of #1367 - gnzlbg:disable_sparc, r=gnzlbgbors2019-05-251-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Temporarily disable some solaris targets
| * | | | | | Temporarily disable x86_64-sun-solarisgnzlbg2019-05-251-1/+2
| | | | | | |
| * | | | | | Temporarily disable sparcv9-sun-solarisgnzlbg2019-05-251-0/+4
|/ / / / / /
* | | | | | Auto merge of #1360 - jbaublitz:nl_consts_pr-2, r=gnzlbgbors2019-05-242-0/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add final rtnetlink constants This is a follow up to the PR #1351 which is for issue #1059 as it was closed before I realized there's one last set of netlink constants needed for use with rtnetlink. I'm marking this as WIP until I've verified everything's good with CI and that I've included all necessary constants. I'll remove WIP once it's passing CI and it's ready for review.
| * | | | | | Fix CI errors by moving non-musl netlink constants to linux/other/mod.rsJohn Baublitz2019-05-242-6/+5
| | | | | | |
| * | | | | | Add final netlink constants referenced as needed for rtnetlink in the ↵John Baublitz2019-05-231-0/+16
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | documentation
* | | | | | Auto merge of #1366 - Susurrus:iff_constants, r=gnzlbgbors2019-05-241-13/+13
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change datatype for some IFF_ constants These were originally added as c_short types, but all other IFF_ constants are c_int. This commit changes them to match all the other constants for consistency. Closes #915
| * | | | | Change datatype for some IFF_ constantsBryant Mairs2019-05-241-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were originally added as c_short types, but all other IFF_ constants are c_int. This commit changes them to match all the other constants for consistency.
* | | | | | Auto merge of #1361 - gnzlbg:std_feature, r=gnzlbgbors2019-05-245-6/+17
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Deprecate `use_std` cargo feature: use `std` instead . Related to #657 .
| * | | | | Deprecate `use_std` cargo feature: use `std` instead .gnzlbg2019-05-245-6/+17
| |/ / / / | | | | | | | | | | | | | | | Related to #657 .
* | | | | Auto merge of #1363 - gnzlbg:fix_locale_t, r=gnzlbgbors2019-05-242-12/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix locale_t in unix and fuchsia. Closes #1055.
| * | | | | Fix locale_t in unix and fuchsia.gnzlbg2019-05-242-12/+4
| |/ / / / | | | | | | | | | | | | | | | Closes #1055.
* | | | | Auto merge of #1362 - gnzlbg:cmsg, r=gnzlbgbors2019-05-241-9/+0
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Run CMSG tests on s390x Closes #1240.
| * | | | Run CMSG tests on s390xgnzlbg2019-05-241-9/+0
|/ / / / | | | | | | | | | | | | Closes #1240.
* | | | Auto merge of #1344 - gnzlbg:fix_android_bj, r=gnzlbgbors2019-05-2323-281/+240
|\ \ \ \ | |_|_|/ |/| | | | | | | Fix Android build jobs