From 88e54abbff18d74949b4310cee6f6b9062df8b99 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 24 Feb 2021 15:41:35 +1100 Subject: [PATCH] Fix config --- lighthouse/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lighthouse/src/main.rs b/lighthouse/src/main.rs index 75e806e8a35..907af6ed2d7 100644 --- a/lighthouse/src/main.rs +++ b/lighthouse/src/main.rs @@ -22,8 +22,7 @@ union U { #[cfg(feature = "jemalloc")] #[allow(non_upper_case_globals)] -#[cfg_attr(prefixed, export_name = "_rjem_malloc_conf")] -#[cfg_attr(not(prefixed), no_mangle)] +#[export_name = "_rjem_malloc_conf"] pub static malloc_conf: Option<&'static libc::c_char> = Some(unsafe { U { x: &b"narenas:1\0"[0],