summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAkos Kiss <akiss@inf.u-szeged.hu>2014-12-12 23:39:27 +0000
committerAkos Kiss <akiss@inf.u-szeged.hu>2015-01-03 15:16:10 +0000
commit6e5fb8bd1bef7a36c32194b35ec16d0365adbcf1 (patch)
treeb6bbb41f6e5b897a93ffb89d1603ab7c16096cf1 /src/liballoc
parentfc2ba13939aa9672d886beb06efde7aeda2d5f7f (diff)
downloadrust-6e5fb8bd1bef7a36c32194b35ec16d0365adbcf1.tar.gz
rust-6e5fb8bd1bef7a36c32194b35ec16d0365adbcf1.zip
Initial version of AArch64 support.
Adds AArch64 knowledge to:
* configure,
* make files,
* sources,
* tests, and
* documentation.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/heap.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs
index cdc30efd2d9..c57435cdc8c 100644
--- a/src/liballoc/heap.rs
+++ b/src/liballoc/heap.rs
@@ -1,4 +1,4 @@
-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2014-2015 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -120,7 +120,8 @@ unsafe fn exchange_free(ptr: *mut u8, old_size: uint, align: uint) {
           target_arch = "mipsel"))]
 const MIN_ALIGN: uint = 8;
 #[cfg(any(target_arch = "x86",
-          target_arch = "x86_64"))]
+          target_arch = "x86_64",
+          target_arch = "aarch64"))]
 const MIN_ALIGN: uint = 16;
 
 #[cfg(external_funcs)]