Skip to content

Commit

Permalink
A test that is specific to counting memory size on 64-bit platforms s…
Browse files Browse the repository at this point in the history
…hould not run on 32-bit platforms
  • Loading branch information
drauschenbach committed Nov 4, 2024
1 parent 6245e94 commit e9dca8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arrow-schema/src/datatype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,7 @@ mod tests {
}

#[test]
#[cfg(target_pointer_width = "64")]
fn size_should_not_regress() {
assert_eq!(std::mem::size_of::<DataType>(), 24);
}
Expand Down

0 comments on commit e9dca8e

Please sign in to comment.