Skip to content

Commit 0763c7b

Browse files
committed
Revert "rustc: disable jemalloc's time-delayed purging to remove ASLR-like effects."
This reverts commit a10f0d2.
1 parent a10f0d2 commit 0763c7b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler/rustc/src/main.rs

-6
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ fn main() {
5656
#[used]
5757
static _F7: unsafe extern "C" fn() = _rjem_je_zone_register;
5858
}
59-
60-
// HACK(eddyb) disable time-delayed purging to remove the main (only?)
61-
// source of non-determinism in `jemalloc`.
62-
#[used]
63-
#[export_name = "malloc_conf"]
64-
static MALLOC_CONF: &'static [u8; 34] = b"dirty_decay_ms:0,muzzy_decay_ms:0\0";
6559
}
6660

6761
rustc_driver::set_sigpipe_handler();

0 commit comments

Comments
 (0)