We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07c7ba7 commit a10f0d2Copy full SHA for a10f0d2
compiler/rustc/src/main.rs
@@ -56,6 +56,12 @@ fn main() {
56
#[used]
57
static _F7: unsafe extern "C" fn() = _rjem_je_zone_register;
58
}
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";
65
66
67
rustc_driver::set_sigpipe_handler();
0 commit comments