Skip to content

Commit dd4a81a

Browse files
joboetmyl7
authored andcommitted
Apple: rmx_state has been removed
1 parent a13bfee commit dd4a81a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ fn test_apple(target: &str) {
355355
("in6_ifreq", "ifr_ifru") => true,
356356
("ifkpi", "ifk_data") => true,
357357
("ifconf", "ifc_ifcu") => true,
358+
// FIXME: this field has been incorporated into a resized `rmx_filler` array.
359+
("rt_metrics", "rmx_state") => true,
360+
("rt_metrics", "rmx_filler") => true,
358361
_ => false,
359362
}
360363
});

src/unix/bsd/apple/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,8 @@ s! {
489489
pub rmx_rtt: u32,
490490
pub rmx_rttvar: u32,
491491
pub rmx_pksent: u32,
492+
/// This field does not exist anymore, the u32 is now part of a resized
493+
/// `rmx_filler` array.
492494
pub rmx_state: u32,
493495
pub rmx_filler: [u32; 3],
494496
}

0 commit comments

Comments
 (0)