Skip to content

Commit

Permalink
Fix broken nightly build due to aarch64 SIMD macros
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Feb 10, 2022
1 parent 114a54c commit 6d31019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn crc32c_append(crc: u32, data: &[u8]) -> u32 {

#[cfg(all(target_arch = "aarch64", nightly))]
{
if is_aarch64_feature_detected!("crc") {
if std::arch::is_aarch64_feature_detected!("crc") {
return unsafe { hw_aarch64::crc32c(crc, data) };
}
}
Expand Down

0 comments on commit 6d31019

Please sign in to comment.