about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Poumeyrol <kali@zoy.org>2017-11-23 17:22:22 +0100
committerMathieu Poumeyrol <kali@zoy.org>2017-11-23 17:22:22 +0100
commita42f6fa50e341e8e52f8f9f81fdeba87845baa17 (patch)
treec3ea07e127d258408ae236891c36e75e00164698
parentb9b82fde7c72e47bd76829bd5322f427bf3f9900 (diff)
downloadrust-a42f6fa50e341e8e52f8f9f81fdeba87845baa17.tar.gz
rust-a42f6fa50e341e8e52f8f9f81fdeba87845baa17.zip
disable jemalloc on exectuable for ios targets
-rw-r--r--src/librustc_back/target/apple_ios_base.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_back/target/apple_ios_base.rs b/src/librustc_back/target/apple_ios_base.rs
index 4b02d0b60b8..fb9f65e18e8 100644
--- a/src/librustc_back/target/apple_ios_base.rs
+++ b/src/librustc_back/target/apple_ios_base.rs
@@ -99,6 +99,7 @@ pub fn opts(arch: Arch) -> Result<TargetOptions, String> {
         executables: true,
         pre_link_args,
         has_elf_tls: false,
+        exe_allocation_crate: None,
         .. super::apple_base::opts()
     })
 }