- Dec 24, 2018
-
-
bors authored
make tm struct members public This PR makes the members of `struct tm` public. I see no reason why these fields should not be public fields. They are public in the other targets. I did a blame and it seems that they have been private since added a couple years ago. https://github.com/rust-lang/libc/commit/53e0d387f8765e9faa1ea921450167bb7f0b31ff
-
bors authored
add some socket functions and a SOCKET type for windows This PR adds a few of the socket functions for windows. Some targets use the `stdcall` calling convention for these functions, so I put them in an `extern "system"` block ([see the nomicon](https://doc.rust-lang.org/nomicon/ffi.html#foreign-calling-conventions)).
-
bors authored
Expose unix ECN-related constants I'm not certain of the correctness of the BSD definition, but I assume that's what CI's for.
-
Alex Crichton authored
-
- Dec 23, 2018
-
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
- Dec 21, 2018
-
-
bors authored
add stdio constants for windows A few useful constants for working with the stdio file descriptors. I referenced the [msdn](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fileno?view=vs-2017) docs for the numbers, although I think 0,1,2 are standard on most platforms for the stdio.
-
Mackenzie Clark authored
-
Mackenzie Clark authored
This reverts commit 0581f926.
-
Mackenzie Clark authored
This reverts commit 0dd7f2d1.
-
- Dec 20, 2018
-
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
- Dec 18, 2018
-
-
bors authored
add signal and raise bindings for windows This PR adds `signal` and `raise` bindings for windows. I don't know these functions or linux very well, so I leaned on other overrides of signal in the linux bindings, and the [cppreference page](https://en.cppreference.com/w/cpp/header/csignal) for adding the bindings. I added some constants that were shown on the [microsoft signal page](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/signal?view=vs-2017) and used the default values I found spelunking through my own copy of `signal.h` that came along with visual studio. The automated tests pass and my toy apps use the `signal` and `raise` as expected. Let me know if there is anything else I need to do, or any extra tests to write. EDIT: currently working on getting a nice isolated msys2 environment I can use to dev against. - [x] msys2 env setup and building
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
Mackenzie Clark authored
-
- Dec 17, 2018
-
-
Alex Crichton authored
Add `AI_*` constants from `netdb.h` for macOS.
-
Markus Reiter authored
-
Markus Reiter authored
-
Mackenzie Clark authored
separate for gnu and msvc scope resolve c_int these types are not allowed, and more scope resolution use size_t
-
- Dec 15, 2018
-
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
Benjamin Saunders authored
-
- Dec 14, 2018
-
-
Benjamin Saunders authored
-
- Dec 13, 2018
-
-
Alex Crichton authored
Add MFD_HUGETLB const for linux
-
Tobias Klauser authored
Signed-off-by:
Tobias Klauser <tklauser@distanz.ch>
-
- Dec 11, 2018
-
-
Alex Crichton authored
Fix for rust-lang/rust issue #50583
-
- Dec 10, 2018
-
-
Piers Finlayson authored
-
Alex Crichton authored
Fix build on x86_64-unknown-cloudabi, bump version
-
Alex Crichton authored
-
- Dec 09, 2018
-
-
bors authored
Add support for SysV semaphores on Apple platform
-
Alex Crichton authored
-
- Dec 08, 2018
-
-
Craig M. Brandenburg authored
-
bors authored
Move FreeBSD testing from Travis/QEMU to Cirrus-CI Fixes #1163
-