diff options
| author | Mathieu Poumeyrol <kali@zoy.org> | 2017-11-30 23:14:29 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2017-12-21 16:50:19 +0100 |
| commit | ab13ec063dfa02643989841697f2c7a49a93f46e (patch) | |
| tree | e389f766966729ffac42fce168899b614e81583a | |
| parent | a7422607cca05a6d4029595194c3f5f52b47f3d4 (diff) | |
| download | rust-ab13ec063dfa02643989841697f2c7a49a93f46e.tar.gz rust-ab13ec063dfa02643989841697f2c7a49a93f46e.zip | |
explanatory note for the workaround
| -rw-r--r-- | src/librustc_back/target/apple_ios_base.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_back/target/apple_ios_base.rs b/src/librustc_back/target/apple_ios_base.rs index fb9f65e18e8..1895ab1eb7e 100644 --- a/src/librustc_back/target/apple_ios_base.rs +++ b/src/librustc_back/target/apple_ios_base.rs @@ -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() }) |
