-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ancillary fix dragonfly build #91955
Conversation
r? @dtolnay (rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit dc5f2f048c2c82be9fe9fd446ed78efe2952d53e has been approved by |
dc5f2f0
to
8cc2222
Compare
@dtolnay can we use the last commit instead please ? :-) thanks in advance. |
@bors r+ |
📌 Commit 8cc2222 has been approved by |
ancillary fix dragonfly build
@@ -249,46 +249,46 @@ impl SocketCred { | |||
#[unstable(feature = "unix_socket_ancillary_data", issue = "76915")] | |||
#[must_use] | |||
pub fn new() -> SocketCred { | |||
SocketCred(libc::cmsgcred { cmsgcred_pid: 0, cmsgcred_uid: 0, cmsgcred_gid: 0 }) | |||
SocketCred(libc::cmsgcred { cmcred_pid: 0, cmcred_uid: 0, cmcred_gid: 0 }) |
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 still appears wrong to me. DragonFly defines additional members in cmsgcred
which aren't being referenced here, leading to E0063 when I build this locally. https://github.com/rust-lang/libc/blob/9b054d8779d2f71f1803e20f0e3b3327a4ae2764/src/unix/bsd/freebsdlike/mod.rs#L214-L221
@devnexen are you building these changes locally? My understanding is with DragonFly being a Tier 3 target, this code isn't actually built or tested in PR or CI builds, meaning you can't rely on bors to validate your changes.
I can walk you through building this locally if needed, but I'm concerned that neither this PR nor e68887e were ever actually tested...
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.
is that the only build error ?
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.
It is the only error which is not originating as a warning.
Are you set up to build this locally to test your changes?
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.
is it building for you ? unfortunately I lost my DragonFly VM so I can t test for now.
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.
sorry for the disturbance, for now better to revert at least that will unblock your situation.
8cc2222
to
b552563
Compare
No description provided.