Skip to content

Commit

Permalink
Merge pull request #1134 from alexanderkjall/gix-features-i386-test-f…
Browse files Browse the repository at this point in the history
…ailure

test size_of_sha1 reports wrong size on i386
  • Loading branch information
Byron authored Nov 27, 2023
2 parents f09ea13 + 1d45f05 commit a12682d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gix-features/tests/hash.rs
Original file line number Diff line number Diff line change
@@ -9,5 +9,5 @@ fn size_of_sha1() {
#[cfg(feature = "fast-sha1")]
#[test]
fn size_of_sha1() {
assert_eq!(std::mem::size_of::<Sha1>(), 104)
assert_eq!(std::mem::size_of::<Sha1>(), if cfg!(target_arch = "x86") { 96 } else { 104 })
}

0 comments on commit a12682d

Please sign in to comment.