Bug 1324994 - Add Linux/aarch64 target to rust.configure. r=glandium
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Wed, 21 Dec 2016 14:44:11 +0900
changeset 327002 0a552cd5a5a3063acf1c13d0a71f49fcd5d06807
parent 327001 c28b3afaa5cd081a073ff2ae933548f9350ed862
child 327003 ac71e73d904d69cf77c264333694a5b5e07e2159
push id85073
push usercbook@mozilla.com
push dateThu, 22 Dec 2016 15:25:55 +0000
treeherdermozilla-inbound@5bc831655dec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1324994
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324994 - Add Linux/aarch64 target to rust.configure. r=glandium MozReview-Commit-ID: 2St6G9FiOHz
build/moz.configure/rust.configure
--- a/build/moz.configure/rust.configure
+++ b/build/moz.configure/rust.configure
@@ -120,23 +120,25 @@ def rust_triple_alias(host_or_target):
             # NetBSD
             ('x86_64', 'NetBSD'): 'x86_64-unknown-netbsd',
             # OpenBSD
             ('x86_64', 'OpenBSD'): 'x86_64-unknown-openbsd',
             # Linux
             ('x86', 'Linux'): 'i686-unknown-linux-gnu',
             # Linux
             ('x86_64', 'Linux'): 'x86_64-unknown-linux-gnu',
+            ('aarch64', 'Linux'): 'aarch64-unknown-linux-gnu',
             # OS X and iOS
             ('x86', 'OSX'): 'i686-apple-darwin',
             ('x86', 'iOS'): 'i386-apple-ios',
             ('x86_64', 'OSX'): 'x86_64-apple-darwin',
             # Android
             ('x86', 'Android'): 'i686-linux-android',
             ('arm', 'Android'): 'armv7-linux-androideabi',
+            ('aarch64', 'Android'): 'aarch64-linux-android',
             # Windows
             # XXX better detection of CXX needed here, to figure out whether
             # we need i686-pc-windows-gnu instead, since mingw32 builds work.
             ('x86', 'WINNT'): 'i686-pc-windows-msvc',
             ('x86_64', 'WINNT'): 'x86_64-pc-windows-msvc',
         }.get((host_or_target.cpu, os_or_kernel), None)
 
         if rustc_target is None: