Skip to content

Commit 41d78c2

Browse files
committed
Add test exceptions for constants that need v5.16+ kernel headers
1 parent a548952 commit 41d78c2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

libc-test/build.rs

+16
Original file line numberDiff line numberDiff line change
@@ -3871,6 +3871,22 @@ fn test_linux(target: &str) {
38713871
// FIXME: Requires more recent kernel headers
38723872
"HWTSTAMP_TX_ONESTEP_P2P" if musl => true, // linux v5.6+
38733873

3874+
// FIXME: Requires more recent kernel headers
3875+
| "FAN_FS_ERROR" // linux v5.16+
3876+
| "FAN_RENAME" // linux v5.17+
3877+
| "FAN_REPORT_TARGET_FID" // linux v5.17+
3878+
| "FAN_REPORT_DFID_NAME_TARGET" // linux v5.17+
3879+
| "FAN_MARK_EVICTABLE" // linux v5.19+
3880+
| "FAN_MARK_IGNORE" // linux v6.0+
3881+
| "FAN_MARK_IGNORE_SURV" // linux v6.0+
3882+
| "FAN_EVENT_INFO_TYPE_ERROR" // linux v5.16+
3883+
| "FAN_EVENT_INFO_TYPE_OLD_DFID_NAME" // linux v5.17+
3884+
| "FAN_EVENT_INFO_TYPE_NEW_DFID_NAME" // linux v5.17+
3885+
| "FAN_RESPONSE_INFO_NONE" // linux v5.16+
3886+
| "FAN_RESPONSE_INFO_AUDIT_RULE" // linux v5.16+
3887+
| "FAN_INFO" // linux v5.16+
3888+
=> true
3889+
38743890
_ => false,
38753891
}
38763892
});

0 commit comments

Comments
 (0)