blob: ce5e7aac5a99dbb7a4ea04b6086ce0a1f95bfa16 [file] [edit]
use crate::os::unix::io::RawFd;
#[test]
fn test_raw_fd_layout() {
// `OwnedFd` and `BorrowedFd` use pattern types, with ranges that depend on
// the bit width of `RawFd`. If this ever changes, those values will need
// to be updated.
assert_eq!(size_of::<RawFd>(), 4);
}