- May 27, 2019
-
-
Bryant Mairs authored
`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.
-
Bryant Mairs authored
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.
-
- May 26, 2019
-
-
gnzlbg authored
Clean up libc-test/build.rs for FreeBSD and enable testing FreeBSD12 on CI
-
- May 25, 2019
-
-
bors authored
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 .
-
bors authored
Add powerpc64-unknown-freebsd target Per https://github.com/rust-lang-nursery/stdsimd/pull/765 add powerpc64-unknown-freebsd to prevent further breakages.
-
bors authored
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.
-
bors authored
Set the type for S_ISUID, S_ISGID and S_ISVTX correctly
-
bors authored
Temporarily disable some solaris targets
-
gnzlbg authored
-
gnzlbg authored
-
- May 24, 2019
-
-
pkubaj authored
Move to LINUX_NO_CORE_TARGETS per gznlbg's suggestion.
-
bors authored
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.
-
bors authored
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
-
pkubaj authored
Move to RUST_NIGHTLY_LINUX_TARGETS per gznlbg's suggestion.
-
gnzlbg authored
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.
-
gnzlbg authored
-
bors authored
Deprecate `use_std` cargo feature: use `std` instead . Related to #657 .
-
Bryant Mairs authored
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.
-
John Baublitz authored
-
bors authored
Fix locale_t in unix and fuchsia. Closes #1055.
-
gnzlbg authored
Closes #1055.
-
bors authored
Run CMSG tests on s390x Closes #1240.
-
gnzlbg authored
Closes #1240.
-
gnzlbg authored
Closes #981 .
-
gnzlbg authored
Related to #657 .
-
- May 23, 2019