Skip to content

Commit 3b18e29

Browse files
committedNov 30, 2017
explanatory note for the workaround
1 parent a42f6fa commit 3b18e29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/librustc_back/target/apple_ios_base.rs

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ pub fn opts(arch: Arch) -> Result<TargetOptions, String> {
9999
executables: true,
100100
pre_link_args,
101101
has_elf_tls: false,
102+
// The following line is a workaround for jemalloc 4.5 being broken on
103+
// ios. jemalloc 5.0 is supposed to fix this.
104+
// see https://github.com/rust-lang/rust/issues/45262
102105
exe_allocation_crate: None,
103106
.. super::apple_base::opts()
104107
})

0 commit comments

Comments
 (0)
Please sign in to comment.