Skip to content

Commit 2199836

Browse files
committed
Add fanotify_event_info_fid to FAM-exempt types
1 parent 04c09ae commit 2199836

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
@@ -4488,11 +4488,11 @@ fn test_linux(target: &str) {
44884488
true
44894489
}
44904490

4491-
// The `inotify_event` and `cmsghdr` types contain Flexible Array Member fields (the
4492-
// `name` and `data` fields respectively) which have unspecified calling convention.
4493-
// The roundtripping tests deliberately pass the structs by value to check "by value"
4494-
// layout consistency, but this would be UB for the these types.
4491+
// The following types contain Flexible Array Member fields which have unspecified calling
4492+
// convention. The roundtripping tests deliberately pass the structs by value to check "by
4493+
// value" layout consistency, but this would be UB for the these types.
44954494
"inotify_event" => true,
4495+
"fanotify_event_info_fid" => true,
44964496
"cmsghdr" => true,
44974497

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

0 commit comments

Comments
 (0)