Skip to content

Commit

Permalink
fix expected value for pref_align_of under aarch64/macos (#2782)
Browse files Browse the repository at this point in the history
Co-authored-by: Remi Delmas <delmasrd@amazon.com>
  • Loading branch information
remi-delmas-3000 and Remi Delmas authored Sep 20, 2023
1 parent 88e3bbe commit a3067ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kani/Intrinsics/ConstEval/pref_align_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn main() {
#[cfg(target_os = "linux")]
assert!(unsafe { pref_align_of::<i16>() } == 4);
#[cfg(target_os = "macos")]
assert!(unsafe { pref_align_of::<i16>() } == 1);
assert!(unsafe { pref_align_of::<i16>() } == 2);
assert!(unsafe { pref_align_of::<i32>() } == 4);
assert!(unsafe { pref_align_of::<i64>() } == 8);
assert!(unsafe { pref_align_of::<i128>() } == 16);
Expand Down

0 comments on commit a3067ad

Please sign in to comment.