Skip to content

Commit 6d31019

Browse files
committed
Fix broken nightly build due to aarch64 SIMD macros
Ref: rust-lang/rust#93414
1 parent 114a54c commit 6d31019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn crc32c_append(crc: u32, data: &[u8]) -> u32 {
5252

5353
#[cfg(all(target_arch = "aarch64", nightly))]
5454
{
55-
if is_aarch64_feature_detected!("crc") {
55+
if std::arch::is_aarch64_feature_detected!("crc") {
5656
return unsafe { hw_aarch64::crc32c(crc, data) };
5757
}
5858
}

0 commit comments

Comments
 (0)