Skip to content

Commit

Permalink
Fix test on Aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 17, 2024
1 parent 00173dd commit b132646
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/block2/src/encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,13 @@ mod tests {
],
&Encoding::String,
// Probably unaligned.
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64",))]
#[cfg(any(
target_arch = "x86_64",
all(target_arch = "aarch64", not(target_vendor = "apple"))
))]
"*53@?0(ThisOrThat=Si)8{ThisAndThat=QjDAB}12",
#[cfg(all(target_arch = "aarch64", target_vendor = "apple"))]
"*37@?0(ThisOrThat=Si)8{ThisAndThat=QjDAB}12",
#[cfg(all(target_arch = "x86", target_vendor = "apple"))]
"*45@?0(ThisOrThat=Si)4{ThisAndThat=QjDAB}8",
#[cfg(all(target_arch = "x86", not(target_vendor = "apple")))]
Expand Down

0 comments on commit b132646

Please sign in to comment.