-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Lift IFA_ -constants from linux/gnu to linux #4185
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Since these are uapi, could you just lift the existing gnu definitions to Linux/mod.rs? |
a7e1fd0
to
315a6dc
Compare
315a6dc
to
70c1e82
Compare
Lifted to constants to |
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.
LGTM, thanks!
(backport <rust-lang#4185>) (cherry picked from commit 70c1e82)
Description
Lift IFA_ -constants from linux/gnu to linux/mod.rs
Sources
Constants are defined in linux/if_addr.h
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI