]> git.lizzy.rs Git - rust.git/commitdiff
explanatory note for the workaround
authorMathieu Poumeyrol <kali@zoy.org>
Thu, 30 Nov 2017 22:14:29 +0000 (23:14 +0100)
committerMathieu Poumeyrol <kali@zoy.org>
Thu, 30 Nov 2017 22:14:29 +0000 (23:14 +0100)
src/librustc_back/target/apple_ios_base.rs

index fb9f65e18e80c518999c70e1fd809a889a01ed8a..1895ab1eb7e78900f5037ecfe489c565b95a3a40 100644 (file)
@@ -99,6 +99,9 @@ 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()
     })