Skip to content

Commit

Permalink
Add fanotify_event_info_fid to FAM-exempt types
Browse files Browse the repository at this point in the history
(backport <rust-lang#4038>)
(cherry picked from commit 73ce07c)
  • Loading branch information
bossmc authored and tgross35 committed Nov 18, 2024
1 parent 269e9f5 commit 70e2542
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4589,11 +4589,11 @@ fn test_linux(target: &str) {
true
}

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

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

0 comments on commit 70e2542

Please sign in to comment.