diff options
author | Andrew Balmos <Andrew Balmos> | 2022-03-03 14:17:10 -0500 |
---|---|---|
committer | Andrew Balmos <Andrew Balmos> | 2022-03-03 14:17:10 -0500 |
commit | d590b80766a8310c9e50cafdf7c4cf7c0e745623 (patch) | |
tree | 98c248e5355257b6cb6d654a220639bbc2f7b897 | |
parent | a5470ce96f994347e14c5659442a7c086d2665c4 (diff) | |
download | rust-libc-d590b80766a8310c9e50cafdf7c4cf7c0e745623.tar.gz |
Exempt J1939 constants and remove old exceptions
Signed-off-by: Andrew Balmos <Andrew Balmos>
-rw-r--r-- | libc-test/build.rs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 00081a6452..37ad6edafc 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3229,10 +3229,16 @@ fn test_linux(target: &str) { | "IFLA_PERM_ADDRESS" | "IFLA_PROTO_DOWN_REASON" => true, - // FIXME: They require recent kernel header: - | "CAN_J1939" - | "CAN_RAW_FILTER_MAX" - | "CAN_NPROTO" => true, + // FIXME: Requires recent kernel headers (5.15) + | "J1939_NLA_TOTAL_SIZE" + | "J1939_NLA_PGN" + | "J1939_NLA_SRC_NAME" + | "J1939_NLA_DEST_NAME" + | "J1939_NLA_SRC_ADDR" + | "J1939_NLA_DEST_ADDR" + | "J1939_EE_INFO_RX_RTS" + | "J1939_EE_INFO_RX_DPO" + | "J1939_EE_INFO_RX_ABORT" => true, // FIXME: Requires recent kernel headers (5.8): "STATX_MNT_ID" => true, |