From 8f803c202681fa137fca691df999ac3f335d29c1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 30 Jan 2016 13:27:00 -0800 Subject: Remove "powerpc64le" and "mipsel" target_arch Currently the `mipsel-unknown-linux-gnu` target doesn't actually set the `target_arch` value to `mipsel` but it rather uses `mips`. Alternatively the `powerpc64le` target does indeed set the `target_arch` as `powerpc64le`, causing a bit of inconsistency between theset two. As these are just the same instance of one instruction set, let's use `target_endian` to switch between them and only set the `target_arch` as one value. This should cut down on the number of `#[cfg]` annotations necessary and all around be a little more ergonomic. --- src/liballoc_jemalloc/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/liballoc_jemalloc') diff --git a/src/liballoc_jemalloc/lib.rs b/src/liballoc_jemalloc/lib.rs index b009dfd8c75..8bdbd1a926f 100644 --- a/src/liballoc_jemalloc/lib.rs +++ b/src/liballoc_jemalloc/lib.rs @@ -51,7 +51,6 @@ extern "C" { // constant at the call site and the branch will be optimized out. #[cfg(all(any(target_arch = "arm", target_arch = "mips", - target_arch = "mipsel", target_arch = "powerpc")))] const MIN_ALIGN: usize = 8; #[cfg(all(any(target_arch = "x86", -- cgit 1.4.1-3-g733a5