]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_back/target/apple_ios_base.rs
New upstream version 1.23.0+dfsg1
[rustc.git] / src / librustc_back / target / apple_ios_base.rs
index 4b02d0b60b8b59a43fc9baff50df77d7fc962b4c..1895ab1eb7e78900f5037ecfe489c565b95a3a40 100644 (file)
@@ -99,6 +99,10 @@ pub fn opts(arch: Arch) -> Result<TargetOptions, String> {
         executables: true,
         pre_link_args,
         has_elf_tls: false,
+        // The following line is a workaround for jemalloc 4.5 being broken on
+        // ios. jemalloc 5.0 is supposed to fix this.
+        // see https://github.com/rust-lang/rust/issues/45262
+        exe_allocation_crate: None,
         .. super::apple_base::opts()
     })
 }