diff options
| author | Anton Blanchard <anton@samba.org> | 2015-12-28 21:09:06 +0000 |
|---|---|---|
| committer | Anton Blanchard <anton@samba.org> | 2016-01-13 01:39:00 +0000 |
| commit | b372910476c40584a22cd253c69106775d0c93fa (patch) | |
| tree | 7aca9d37fee606b735fb60588cd08c9f7297f8f3 /src/liballoc_jemalloc | |
| parent | 49c38277905f515537ce4d9610df87680ae76524 (diff) | |
| download | rust-b372910476c40584a22cd253c69106775d0c93fa.tar.gz rust-b372910476c40584a22cd253c69106775d0c93fa.zip | |
Add powerpc64 and powerpc64le support
This adds support for big endian and little endian PowerPC64. make check runs clean apart from one big endian backtrace issue.
Diffstat (limited to 'src/liballoc_jemalloc')
| -rw-r--r-- | src/liballoc_jemalloc/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/liballoc_jemalloc/lib.rs b/src/liballoc_jemalloc/lib.rs index eaaa9391d31..91d229b819d 100644 --- a/src/liballoc_jemalloc/lib.rs +++ b/src/liballoc_jemalloc/lib.rs @@ -55,7 +55,9 @@ extern "C" { const MIN_ALIGN: usize = 8; #[cfg(all(any(target_arch = "x86", target_arch = "x86_64", - target_arch = "aarch64")))] + target_arch = "aarch64", + target_arch = "powerpc64", + target_arch = "powerpc64le")))] const MIN_ALIGN: usize = 16; // MALLOCX_ALIGN(a) macro |
