diff options
| author | Richo Healey <richo@psych0tik.net> | 2015-01-09 19:54:55 -0800 |
|---|---|---|
| committer | Richo Healey <richo@psych0tik.net> | 2015-01-11 21:14:30 -0800 |
| commit | e5bbe8244b8e8efefa26df4287f22fa3f059bd1c (patch) | |
| tree | acec5cde4a390b21bbc6eaa99fd07a6040d90307 /src/liballoc | |
| parent | 194ed4f5a0c343ec1eab568b258d8e5b3428ddd5 (diff) | |
| download | rust-e5bbe8244b8e8efefa26df4287f22fa3f059bd1c.tar.gz rust-e5bbe8244b8e8efefa26df4287f22fa3f059bd1c.zip | |
powerpc: Tell liballoc about power alignment
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/heap.rs | 3 |
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"), |
