rust/mk/cfg
bors f59fd46425 Auto merge of #31846 - alexcrichton:better-disable-jemallc, r=brson
The `--disable-jemalloc` configure option has a failure mode where it will
create a distribution that is not compatible with other compilers. For example
the nightly for Linux will assume that it will link to jemalloc by default as
an allocator for executable crates. If, however, a standard library is used
which was built via `./configure --disable-jemalloc` then this will fail
because the jemalloc crate wasn't built.

While this seems somewhat reasonable as a niche situation, the same mechanism is
used for disabling jemalloc for platforms that just don't support it. For
example if the rumprun target is compiled then the sibiling Linux target *also*
doesn't have jemalloc. This is currently a problem for our cross-build nightlies
which build many targets. If rumprun is also built, it will disable jemalloc for
all targets, which isn't desired.

This commit moves the platform-specific disabling of jemalloc as hardcoded logic
into the makefiles that is scoped per-platform. This way when configuring
multiple targets **without the `--disable-jemalloc` option specified** all
targets will get jemalloc as they should.
2016-02-26 13:38:46 +00:00
..
aarch64-apple-ios.mk Very hacky MSVC hacks. 2015-05-12 14:50:36 -07:00
aarch64-linux-android.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
aarch64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
arm-linux-androideabi.mk Splits Android NDK path configuration. 2015-07-28 19:21:04 +12:00
arm-unknown-linux-gnueabi.mk mk: Specify armv6 for gcc on arm-unknown-linux-* 2016-02-20 18:21:26 -08:00
arm-unknown-linux-gnueabihf.mk mk: Specify armv6 for gcc on arm-unknown-linux-* 2016-02-20 18:21:26 -08:00
armv7-apple-ios.mk
armv7-unknown-linux-gnueabihf.mk Eradicate last vestiges of armv6 2016-02-22 08:25:29 +01:00
armv7s-apple-ios.mk mk: Remove the -mfpu=vfp4 argument from arm iOS 2016-01-27 22:34:26 -08:00
asmjs-unknown-emscripten.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
i386-apple-ios.mk
i586-unknown-linux-gnu.mk Add a new i586 Linux target 2016-02-13 17:03:00 +01:00
i686-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
i686-linux-android.mk New cross target: i686-linux-android 2015-08-23 15:38:11 +08:00
i686-pc-windows-gnu.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
i686-pc-windows-msvc.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
i686-unknown-freebsd.mk Fixes #30333 by removing the -arch i386 form the right spot 2015-12-11 10:53:04 -08:00
i686-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
i686-unknown-linux-musl.mk Add support for i686-unknown-linux-musl 2016-02-06 20:56:31 +00:00
le32-unknown-nacl.mk Add PNaCl target info to the makefile target cfgs and initialize the PNaCl target 2015-12-19 00:26:53 -06:00
mips-unknown-linux-gnu.mk rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mips-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
mipsel-unknown-linux-gnu.mk rustc: Set MIPS cpu/features in the compiler 2016-01-29 23:44:46 -08:00
mipsel-unknown-linux-musl.mk rustc: set MIPS cpu/features in the compiler 2016-01-30 14:44:40 -05:00
powerpc64-unknown-linux-gnu.mk mk: Fix compiling jemalloc for powerpc64 2016-01-29 12:23:17 -08:00
powerpc64le-unknown-linux-gnu.mk Add powerpc64 and powerpc64le support 2016-01-13 01:39:00 +00:00
powerpc-unknown-linux-gnu.mk
x86_64-apple-darwin.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
x86_64-apple-ios.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
x86_64-pc-windows-gnu.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-pc-windows-msvc.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-rumprun-netbsd.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-sun-solaris.mk Add Illumos support 2016-01-31 18:57:26 +03:00
x86_64-unknown-bitrig.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00
x86_64-unknown-dragonfly.mk
x86_64-unknown-freebsd.mk
x86_64-unknown-linux-gnu.mk mk: Ensure LINK_$(1) is defined for all targets 2015-05-26 10:05:46 -07:00
x86_64-unknown-linux-musl.mk Make sure rsbegin.o and rsend.o get packaged with target lib artifacts. 2015-11-07 17:56:55 -08:00
x86_64-unknown-netbsd.mk Various fixes for NetBSD/amd64 2015-09-21 21:50:54 +02:00
x86_64-unknown-openbsd.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00