about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-07-13 14:17:33 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-07-24 16:24:52 -0700
commit8ef3f69ffb03f8b5c83c44a6300bdfc8f73f6296 (patch)
tree657b27713b42c8daee9e8cf62df8ad9be4b7720f /src/bootstrap
parentb80e946101dd49dd1864b6229f9430c55036c7ce (diff)
downloadrust-8ef3f69ffb03f8b5c83c44a6300bdfc8f73f6296.tar.gz
rust-8ef3f69ffb03f8b5c83c44a6300bdfc8f73f6296.zip
Add a disabled builder for aarch64 emulated tests
This commit adds a disabled builder which will run all tests for the standard
library for aarch64 in a QEMU instance. Once we get enough capacity to run this
on Travis this can be used to boost our platform coverage of AArch64
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/config.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs
index b0c58235fc3..7b8af436d5a 100644
--- a/src/bootstrap/config.rs
+++ b/src/bootstrap/config.rs
@@ -636,6 +636,11 @@ impl Config {
                     let target = self.target_config.entry(target).or_insert(Target::default());
                     target.qemu_rootfs = Some(parse_configure_path(value));
                 }
+                "CFG_QEMU_AARCH64_ROOTFS" if value.len() > 0 => {
+                    let target = INTERNER.intern_str("aarch64-unknown-linux-gnu");
+                    let target = self.target_config.entry(target).or_insert(Target::default());
+                    target.qemu_rootfs = Some(parse_configure_path(value));
+                }
                 _ => {}
             }
         }