about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorJan-Erik Rediger <janerik@fnordig.de>2016-08-06 21:13:25 +0200
committerJan-Erik Rediger <janerik@fnordig.de>2016-08-10 16:38:23 +0200
commit5dac93d59cc2c4c805db91dfcb14fd5017d1a0b1 (patch)
treed284dd4dfcfc412237b3c7319f3069130ac4f208 /src/bootstrap
parentae774103501337ed63b42b673c6c4fdbf369e80e (diff)
downloadrust-5dac93d59cc2c4c805db91dfcb14fd5017d1a0b1.tar.gz
rust-5dac93d59cc2c4c805db91dfcb14fd5017d1a0b1.zip
[emscripten] Disable jemalloc for emscripten
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/sanity.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/sanity.rs b/src/bootstrap/sanity.rs
index 09f96782e71..d6ac3ef6c9c 100644
--- a/src/bootstrap/sanity.rs
+++ b/src/bootstrap/sanity.rs
@@ -98,7 +98,8 @@ pub fn check(build: &mut Build) {
         if target.contains("rumprun") ||
            target.contains("bitrig") ||
            target.contains("openbsd") ||
-           target.contains("msvc") {
+           target.contains("msvc") ||
+           target.contains("emscripten") {
             build.config.use_jemalloc = false;
         }