Skip to content

Commit

Permalink
explanatory note for the workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Nov 30, 2017
1 parent a42f6fa commit 3b18e29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc_back/target/apple_ios_base.rs
Expand Up @@ -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()
})
Expand Down

0 comments on commit 3b18e29

Please sign in to comment.