Skip to content

Commit

Permalink
Fix test compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Sep 24, 2024
1 parent d56f394 commit 974bc80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/event/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ mod test {
#[test]
#[cfg(any(bsd, linux_kernel))]
fn layouts() {
use crate::backend::c;

// The `FdSetElement` array should be suitably aligned.
assert_eq!(align_of::<FdSetElement>(), align_of::<c::fd_set>());

Expand Down

0 comments on commit 974bc80

Please sign in to comment.