-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add <sys/timex.h> bindings for linux-musl #2333
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
r? @JohnTitor (rust-highfive has picked a reviewer for you, use r? to override) |
0650408
to
28f9ccc
Compare
AWS OSPO review, no OSPO concerns. |
pub errcnt: ::c_long, | ||
pub stbcnt: ::c_long, | ||
pub tai: ::c_int, | ||
pub __padding: [::c_int; 11], |
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.
A padding field doesn't need to be public generally, is there any reason?
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.
I suppose it doesn't matter much, but if this one should be private then I should've made the glibc ones private as well when I contributed #1642. So I can either keep this one public, be inconsistent, or make a breaking change to the glibc version. Up to you, I have no strong feelings on the matter.
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.
Ah makes sense! Let's keep it as-is for now.
@bors r+ |
📌 Commit 530b4ca has been approved by |
Add <sys/timex.h> bindings for linux-musl Adds bindings for `adjtimex()` & co. for linux-musl. Also adds `clock_adjtime()` to linux-glibc.
💔 Test failed - checks-actions |
Looks like a CI test is failing because http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20200314/images/generic/initrd.debian has gone 404 (maybe releated to the release of Debian 11)? Obviously unrelated to this PR. |
Fixed on master, @bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
Adds bindings for
adjtimex()
& co. for linux-musl. Also addsclock_adjtime()
to linux-glibc.