Skip to content

Commit 73ce07c

Browse files
committed
Add fanotify_event_info_fid to FAM-exempt types
1 parent 44c548d commit 73ce07c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libc-test/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4503,11 +4503,11 @@ fn test_linux(target: &str) {
45034503
true
45044504
}
45054505

4506-
// The `inotify_event` and `cmsghdr` types contain Flexible Array Member fields (the
4507-
// `name` and `data` fields respectively) which have unspecified calling convention.
4508-
// The roundtripping tests deliberately pass the structs by value to check "by value"
4509-
// layout consistency, but this would be UB for the these types.
4506+
// The following types contain Flexible Array Member fields which have unspecified calling
4507+
// convention. The roundtripping tests deliberately pass the structs by value to check "by
4508+
// value" layout consistency, but this would be UB for the these types.
45104509
"inotify_event" => true,
4510+
"fanotify_event_info_fid" => true,
45114511
"cmsghdr" => true,
45124512

45134513
// FIXME: the call ABI of max_align_t is incorrect on these platforms:

0 commit comments

Comments
 (0)