about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-01-09 19:54:55 -0800
committerRicho Healey <richo@psych0tik.net>2015-01-11 21:14:30 -0800
commite5bbe8244b8e8efefa26df4287f22fa3f059bd1c (patch)
treeacec5cde4a390b21bbc6eaa99fd07a6040d90307 /src/liballoc
parent194ed4f5a0c343ec1eab568b258d8e5b3428ddd5 (diff)
downloadrust-e5bbe8244b8e8efefa26df4287f22fa3f059bd1c.tar.gz
rust-e5bbe8244b8e8efefa26df4287f22fa3f059bd1c.zip
powerpc: Tell liballoc about power alignment
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/heap.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs
index 02933c763ef..b7bc1b47646 100644
--- a/src/liballoc/heap.rs
+++ b/src/liballoc/heap.rs
@@ -119,7 +119,8 @@ unsafe fn exchange_free(ptr: *mut u8, old_size: uint, align: uint) {
           not(feature = "external_crate"),
           any(target_arch = "arm",
               target_arch = "mips",
-              target_arch = "mipsel")))]
+              target_arch = "mipsel",
+              target_arch = "powerpc")))]
 const MIN_ALIGN: uint = 8;
 #[cfg(all(not(feature = "external_funcs"),
           not(feature = "external_crate"),