-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix libc deprecations #1072
Fix libc deprecations #1072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a good idea. Thanks for the PR.
bors r+
there seem to be more deprecations than showed up on my machine, travis has some failures.. i'll push an update soon-ish. |
bors r- |
Canceled |
Any update? We're still very interested in this PR. |
On musl, pthread_t is a pointer type.
libc just undefined MADV_SOFT_OFFLINE on mips. rust-lang/libc#1365 Fixes nix-rust#1074
libc just changed the signedness of sigaction.sa_flags for Android. rust-lang/libc@841b3eb
There were some breaking changes between 0.2.55 and 0.2.57. Now Nix will only work with the later version.
bce3e8c
to
59fabaf
Compare
bors r+ |
1072: Fix libc deprecations r=asomers a=dario23 The `libc` crate now uses rust types in some places where previously types like `libc::uint8_t` had been defined. This PR adjusts nix's code to reflect these simplifications. Co-authored-by: Johannes Schilling <dario@deaktualisierung.org> Co-authored-by: Alan Somers <asomers@gmail.com>
Build succeeded
|
@asomers thanks for completing; wasn't available the last two days :-) |
The
libc
crate now uses rust types in some places where previously types likelibc::uint8_t
had been defined. This PR adjusts nix's code to reflect these simplifications.