about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorBen Cressey <bcressey@amazon.com>2017-09-05 16:55:25 +0000
committerTom Kirchner <git@halffull.org>2017-09-23 14:46:33 -0700
commitf94bd36fd1f9e71c7b2e33949abc0d931cdf6f7c (patch)
treebaec9a2be67456e3d880f3e54aca62760f5eef4c /src/bootstrap
parenta83c3e777145bd2fd127857b3b73d5a174e1f2dd (diff)
downloadrust-f94bd36fd1f9e71c7b2e33949abc0d931cdf6f7c.tar.gz
rust-f94bd36fd1f9e71c7b2e33949abc0d931cdf6f7c.zip
add aarch64-unknown-linux-musl target
Signed-off-by: Ben Cressey <bcressey@amazon.com>
Signed-off-by: Tom Kirchner <tjk@amazon.com>
Diffstat (limited to 'src/bootstrap')
-rwxr-xr-xsrc/bootstrap/configure.py2
-rw-r--r--src/bootstrap/native.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py
index 2438be89776..67337bf4421 100755
--- a/src/bootstrap/configure.py
+++ b/src/bootstrap/configure.py
@@ -109,6 +109,8 @@ v("musl-root-armhf", "target.arm-unknown-linux-musleabihf.musl-root",
   "arm-unknown-linux-musleabihf install directory")
 v("musl-root-armv7", "target.armv7-unknown-linux-musleabihf.musl-root",
   "armv7-unknown-linux-musleabihf install directory")
+v("musl-root-aarch64", "target.aarch64-unknown-linux-musl.musl-root",
+  "aarch64-unknown-linux-musl install directory")
 v("qemu-armhf-rootfs", "target.arm-unknown-linux-gnueabihf.qemu-rootfs",
   "rootfs in qemu testing, you probably don't want to use this")
 v("qemu-aarch64-rootfs", "target.aarch64-unknown-linux-gnu.qemu-rootfs",
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index 99077d03dbe..84e98de09dd 100644
--- a/src/bootstrap/native.rs
+++ b/src/bootstrap/native.rs
@@ -399,6 +399,7 @@ impl Step for Openssl {
         let os = match &*target {
             "aarch64-linux-android" => "linux-aarch64",
             "aarch64-unknown-linux-gnu" => "linux-aarch64",
+            "aarch64-unknown-linux-musl" => "linux-aarch64",
             "arm-linux-androideabi" => "android",
             "arm-unknown-linux-gnueabi" => "linux-armv4",
             "arm-unknown-linux-gnueabihf" => "linux-armv4",