- May 14, 2019
- Apr 23, 2019
-
-
Dan Gohman authored
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.
-
Dan Gohman authored
-
Dan Gohman authored
-
- Apr 08, 2019
-
-
Alex Crichton authored
Added recently and will be used in libstd!
-
- Apr 05, 2019
-
-
Kevin Kuehler authored
-
- Mar 27, 2019
-
-
Alex Crichton authored
-
Alex Crichton authored
This target is [being proposed][LINK] int he rust-lang/rust repository and this is intended to get coupled with that proposal. The definitions here all match the upstream reference-sysroot definitions and the functions all match the reference sysroot as well. The linkage here is described more in detail on the Rust PR itself, but in general it's similar to musl. Automatic verification has been implemented in the same manner as other targets, and it's been used locally to develop this PR and catch errors in the bindings already written (also to help match the evolving sysroot of wasi). The verification isn't hooked up to CI yet though because there is no wasi target distributed via rustup just yet, but once that's done I'll file a follow-up PR to execute verification on CI. [LINK]:
-
- Mar 25, 2019
-
-
gnzlbg authored
-
- Mar 02, 2019
-
-
Sébastien Marie authored
while here, generate the right file in test_openbsd()
-
- Feb 24, 2019
- Feb 22, 2019
-
-
gnzlbg authored
This cleans up the build.rs of `libc-test` for apple targets. I wanted to update the docker containers of some targets so that we can start testing newer currently-skipped APIs properly, but it is impossible to figure out which headers and APIs are skipped for each target. This PR separates the testing of apple targets into its own self-contained function. This allows seeing exactly which headers are included, and which items are skipped. A lot of work will be required to separate the testing of all major platforms and make the script reasonable. During the clean up, I discovered that, at least for apple targets, deprecated but not removed APIs are not tested. I re-enabled testing for those, and fixed `daemon`, which was not properly linking its symbol. I also added the `#[deprecated]` attribute to the `#[deprecated]` APIs of the apple targets. The attribute is available since Rust 1.9.0 and the min. Rust version we support is Rust 1.13.0. Many other APIs are also currently not tested "because they are weird" which I interpret as "the test failed for an unknown reason", as a consequence: * the signatures of execv, execve, and execvp are incorrect (see https://github.com/rust-lang/libc/issues/1272) * the `sig_t` type is called `sighandler_t` in libc for some reason: https://github.com/rust-lang/libc/issues/1273 This probably explains why some other things, like the `sa_handler`/`sa_sigaction` fields of `sigaction` were skipped. The field is actually a union, which can be either a `sig_t` for the `sa_handler` field, or some other type for the `sa_sigaction` field, but because the distinction was not made, the field was not checked. The latest ctest version can check volatile pointers, so a couple of skipped tests are now tested using this feature.
-
- Feb 19, 2019
-
-
Gleb Pomykalov authored
-
Gleb Pomykalov authored
-
Vincent Dagonneau authored
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.
-
- Feb 18, 2019
-
-
Vincent Dagonneau authored
-
Gleb Pomykalov authored
-
- Feb 13, 2019
-
-
Vitaly _Vi Shukela authored
-
- Feb 12, 2019
-
-
gnzlbg authored
-
- Feb 08, 2019
-
-
Benjamin Saunders authored
-
- Feb 07, 2019
-
-
gnzlbg authored
-
- Feb 05, 2019
-
-
Alan Somers authored
Since these are defined in C as macros, they must be reimplemented in libc as Rust functions. They're hard to get exactly right, and they vary from platform to platform. The test builds custom C code that uses the real macros, and compares its output to the Rust versions' output for various inputs. Skip the CMSG_NXTHDR test on sparc64 linux because it hits a Bus Error. Issue #1239 Skip the entire cmsg test program on s390x because it dumps core seemingly before the kernel finishes booting. Issue #1240
-
- Feb 04, 2019
-
-
Vincent Dagonneau authored
-
- Feb 02, 2019
-
-
Bryant Mairs authored
-
- Jan 28, 2019
-
-
Vincent Dagonneau authored
-
Vincent Dagonneau authored
-
- Jan 21, 2019
-
-
gnzlbg authored
-
- Jan 13, 2019
-
-
Sébastien Marie authored
-
- Jan 04, 2019
-
-
Alex Zepeda authored
Per the mailing list[1], sys/ioctl_compat.h has been removed. 1: http://lists.dragonflybsd.org/pipermail/commits/2018-April/672079.html
-
- Dec 21, 2018
-
-
Mackenzie Clark authored
This reverts commit 0581f926.
-
Mackenzie Clark authored
This reverts commit 0dd7f2d1.
-
- Dec 20, 2018
-
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
- Dec 18, 2018
-
-
Mackenzie Clark authored
-