Skip to content

Commit

Permalink
Fix various compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 27, 2025
1 parent 3bf373b commit 0370948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ mod test {
}
}

#[cfg(feature = "system")]
#[cfg(all(feature = "system", feature = "user"))]
#[test]
fn check_all_process_uids_resolvable() {
// On linux, some user IDs don't have an associated user (no idea why though).
Expand Down
2 changes: 1 addition & 1 deletion src/unix/apple/macos/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ unsafe fn get_bsd_info(pid: Pid) -> Option<libc::proc_bsdinfo> {
0,
&mut info as *mut _ as *mut _,
mem::size_of::<libc::proc_bsdinfo>() as _,
) != mem::size_of::<libc::proc_bsdinfo>() as _
) != mem::size_of::<libc::proc_bsdinfo>() as c_int
{
None
} else {
Expand Down

0 comments on commit 0370948

Please sign in to comment.