We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac180b commit af19788Copy full SHA for af19788
1 file changed
src/simd/detect.rs
@@ -35,7 +35,7 @@ pub fn has_sse42() -> bool {
35
/// On aarch64, NEON is mandatory per ARMv8-A spec, so this always returns
36
/// `true` on that target. On other architectures it returns `false`.
37
#[must_use]
38
-pub const fn has_neon() -> bool {
+pub fn has_neon() -> bool {
39
#[cfg(target_arch = "aarch64")]
40
{
41
std::arch::is_aarch64_feature_detected!("neon")
0 commit comments