rust/mk/cfg
Alex Crichton b980f22877 mk: Move disable-jemalloc logic into makefiles
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-25 21:05:59 -08:00
..
aarch64-apple-ios.mk
aarch64-linux-android.mk Revert "mk: fix some undefined variable warnings" 2016-02-01 23:27:04 -08:00
aarch64-unknown-linux-gnu.mk
arm-linux-androideabi.mk
arm-unknown-linux-gnueabi.mk
arm-unknown-linux-gnueabihf.mk
armv7-apple-ios.mk
armv7-unknown-linux-gnueabihf.mk Fix the armv7 linux target 2016-01-31 22:26:34 +01:00
armv7s-apple-ios.mk
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
i686-linux-android.mk
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
i686-unknown-linux-gnu.mk
i686-unknown-linux-musl.mk Add support for i686-unknown-linux-musl 2016-02-06 20:56:31 +00:00
le32-unknown-nacl.mk
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
powerpc-unknown-linux-gnu.mk
x86_64-apple-darwin.mk
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
x86_64-unknown-linux-musl.mk
x86_64-unknown-netbsd.mk
x86_64-unknown-openbsd.mk mk: Move disable-jemalloc logic into makefiles 2016-02-25 21:05:59 -08:00