about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarijn Schouten <mhkbst@gmail.com>2025-07-11 17:57:11 +0000
committerMarijn Schouten <mhkbst@gmail.com>2025-07-11 17:57:11 +0000
commit30556edc579a80ce1f206db0559c758c520b9e83 (patch)
treec085f96215218ead0e499ed04e5aab09090a5ef5
parentbb7a446c758746def292829a2d0407ce60b38220 (diff)
downloadrust-30556edc579a80ce1f206db0559c758c520b9e83.tar.gz
rust-30556edc579a80ce1f206db0559c758c520b9e83.zip
tests: neon is arm
-rw-r--r--library/stdarch/crates/simd-test-macro/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/stdarch/crates/simd-test-macro/src/lib.rs b/library/stdarch/crates/simd-test-macro/src/lib.rs
index 855e969e1eb..aa36cb928a4 100644
--- a/library/stdarch/crates/simd-test-macro/src/lib.rs
+++ b/library/stdarch/crates/simd-test-macro/src/lib.rs
@@ -57,7 +57,7 @@ pub fn simd_test(
         .unwrap_or_else(|| panic!("target triple contained no \"-\": {target}"))
     {
         "i686" | "x86_64" | "i586" => "is_x86_feature_detected",
-        "arm" | "armv7" => "is_arm_feature_detected",
+        "arm" | "armv7" | "thumbv7neon" => "is_arm_feature_detected",
         "aarch64" | "arm64ec" | "aarch64_be" => "is_aarch64_feature_detected",
         maybe_riscv if maybe_riscv.starts_with("riscv") => "is_riscv_feature_detected",
         "powerpc" | "powerpcle" => "is_powerpc_feature_detected",