-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Theoretically test statics #1075
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There are none of them in `libc` except for `__progname` on Android, but that one cannot be tested because it's not present in any header files.
53baf08
to
8b1d846
Compare
Seems like my changes in |
Yes let's revert those changes in |
er, didn't mean to close |
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang/libc#1075
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.
Looks good!
libc-test/build.rs
Outdated
@@ -432,6 +432,7 @@ fn main() { | |||
cfg.skip_struct(move |ty| { | |||
match ty { | |||
"sockaddr_nl" => musl, | |||
"ucontext_t" => true, |
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.
How come this is unconditionally ignored? Should it only be ignored on one platform?
libc-test/build.rs
Outdated
@@ -639,6 +640,7 @@ fn main() { | |||
s if ios && s.starts_with("RTV_") => true, | |||
s if ios && s.starts_with("DLT_") => true, | |||
|
|||
"NFT_MSG_MAX" => true, |
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.
Could this have a comment indicating why it's ignored?
My bad, I added these ignores because they failed on my machine, didn't mean to add them to the PR. Will open an issue about them. |
@bors: r+ |
📌 Commit eb6bdf3 has been approved by |
Theoretically test statics There are none of them in `libc` except for `__progname` on Android, but that one cannot be tested because it's not present in any header files.
☀️ Test successful - status-appveyor, status-travis |
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang/libc#1075
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang#1075
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang/libc#1075
Being able to call `const fn` on stable is a relatively new addition. CC rust-lang#1075
There are none of them in
libc
except for__progname
on Android, butthat one cannot be tested because it's not present in any header files.