Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Feb 24, 2021
1 parent 6680b6d commit 88e54ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lighthouse/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 88e54ab

Please sign in to comment.