Skip to content

Commit d590b80

Browse files
Andrew BalmosAndrew Balmos
authored andcommitted
Exempt J1939 constants and remove old exceptions
Signed-off-by: Andrew Balmos <Andrew Balmos>
1 parent a5470ce commit d590b80

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

libc-test/build.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,10 +3229,16 @@ fn test_linux(target: &str) {
32293229
| "IFLA_PERM_ADDRESS"
32303230
| "IFLA_PROTO_DOWN_REASON" => true,
32313231

3232-
// FIXME: They require recent kernel header:
3233-
| "CAN_J1939"
3234-
| "CAN_RAW_FILTER_MAX"
3235-
| "CAN_NPROTO" => true,
3232+
// FIXME: Requires recent kernel headers (5.15)
3233+
| "J1939_NLA_TOTAL_SIZE"
3234+
| "J1939_NLA_PGN"
3235+
| "J1939_NLA_SRC_NAME"
3236+
| "J1939_NLA_DEST_NAME"
3237+
| "J1939_NLA_SRC_ADDR"
3238+
| "J1939_NLA_DEST_ADDR"
3239+
| "J1939_EE_INFO_RX_RTS"
3240+
| "J1939_EE_INFO_RX_DPO"
3241+
| "J1939_EE_INFO_RX_ABORT" => true,
32363242

32373243
// FIXME: Requires recent kernel headers (5.8):
32383244
"STATX_MNT_ID" => true,

0 commit comments

Comments
 (0)