about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorHenri Sivonen <hsivonen@hsivonen.fi>2018-06-04 11:44:30 +0300
committerHenri Sivonen <hsivonen@hsivonen.fi>2018-12-13 19:21:27 +0200
commit0fbe382f0ff20347292f0cce4683aaa73000ae97 (patch)
tree99b33dea1b99bbca49d5b0159a6774502c762e0e /src/tools/compiletest
parent9fe5cb5342244a716055fa0162e795deabd4985c (diff)
downloadrust-0fbe382f0ff20347292f0cce4683aaa73000ae97.tar.gz
rust-0fbe382f0ff20347292f0cce4683aaa73000ae97.zip
Add targets thumbv7neon-linux-androideabi and thumbv7neon-unknown-linux-gnueabihf
These two targets enable both thumb-mode and NEON for ARMv7 CPUs.
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 45527a7cce5..0e9b5b11366 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -168,7 +168,10 @@ pub fn make_diff(expected: &str, actual: &str, context_size: usize) -> Vec<Misma
 
 pub fn run(config: Config, testpaths: &TestPaths, revision: Option<&str>) {
     match &*config.target {
-        "arm-linux-androideabi" | "armv7-linux-androideabi" | "aarch64-linux-android" => {
+        "arm-linux-androideabi"
+        | "armv7-linux-androideabi"
+        | "thumbv7neon-linux-androideabi"
+        | "aarch64-linux-android" => {
             if !config.adb_device_status {
                 panic!("android device not available");
             }