@@ -1638,6 +1638,9 @@ fn test_android(target: &str) {
1638
1638
// FIXME: `sighandler_t` type is incorrect, see:
1639
1639
// https://github.com/rust-lang/libc/issues/1359
1640
1640
"sighandler_t" => true ,
1641
+
1642
+ // These are tested in the `linux_elf.rs` file.
1643
+ "Elf64_Phdr" | "Elf32_Phdr" => true ,
1641
1644
_ => false ,
1642
1645
}
1643
1646
} ) ;
@@ -1655,12 +1658,33 @@ fn test_android(target: &str) {
1655
1658
// 'private' type
1656
1659
"prop_info" => true ,
1657
1660
1661
+ // These are tested in the `linux_elf.rs` file.
1662
+ "Elf64_Phdr" | "Elf32_Phdr" => true ,
1663
+
1658
1664
_ => false ,
1659
1665
}
1660
1666
} ) ;
1661
1667
1662
1668
cfg. skip_const ( move |name| {
1663
1669
match name {
1670
+ // The IPV6 constants are tested in the `linux_ipv6.rs` tests:
1671
+ | "IPV6_FLOWINFO"
1672
+ | "IPV6_FLOWLABEL_MGR"
1673
+ | "IPV6_FLOWINFO_SEND"
1674
+ | "IPV6_FLOWINFO_FLOWLABEL"
1675
+ | "IPV6_FLOWINFO_PRIORITY"
1676
+ // The F_ fnctl constants are tested in the `linux_fnctl.rs` tests:
1677
+ | "F_CANCELLK"
1678
+ | "F_ADD_SEALS"
1679
+ | "F_GET_SEALS"
1680
+ | "F_SEAL_SEAL"
1681
+ | "F_SEAL_SHRINK"
1682
+ | "F_SEAL_GROW"
1683
+ | "F_SEAL_WRITE" => true ,
1684
+
1685
+ // The `ARPHRD_CAN` is tested in the `linux_if_arp.rs` tests:
1686
+ "ARPHRD_CAN" => true ,
1687
+
1664
1688
// FIXME: deprecated: not available in any header
1665
1689
// See: https://github.com/rust-lang/libc/issues/1356
1666
1690
"ENOATTR" => true ,
@@ -1678,6 +1702,7 @@ fn test_android(target: &str) {
1678
1702
1679
1703
// FIXME: conflicts with standard C headers and is tested in
1680
1704
// `linux_termios.rs` below:
1705
+ "BOTHER" => true ,
1681
1706
"IBSHIFT" => true ,
1682
1707
"TCGETS2" | "TCSETS2" | "TCSETSW2" | "TCSETSF2" => true ,
1683
1708
0 commit comments