Skip to content

Commit af19788

Browse files
committed
fix error on aarch64
Signed-off-by: Xinyu Yang <Pana.Yang@hotmail.com>
1 parent 8ac180b commit af19788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/simd/detect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn has_sse42() -> bool {
3535
/// On aarch64, NEON is mandatory per ARMv8-A spec, so this always returns
3636
/// `true` on that target. On other architectures it returns `false`.
3737
#[must_use]
38-
pub const fn has_neon() -> bool {
38+
pub fn has_neon() -> bool {
3939
#[cfg(target_arch = "aarch64")]
4040
{
4141
std::arch::is_aarch64_feature_detected!("neon")

0 commit comments

Comments
 (0)