From e5bbe8244b8e8efefa26df4287f22fa3f059bd1c Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Fri, 9 Jan 2015 19:54:55 -0800 Subject: powerpc: Tell liballoc about power alignment --- src/liballoc/heap.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/liballoc') 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"), -- cgit 1.4.1-3-g733a5