Skip to content

Commit

Permalink
add missing use std::sync::Lazylock to malloc_utils::glibc (#6234)
Browse files Browse the repository at this point in the history
* add missing use std::sync::Lazylock
  • Loading branch information
jxs authored Aug 8, 2024
1 parent f126a42 commit aad8727
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/malloc_utils/src/glibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use parking_lot::Mutex;
use std::env;
use std::os::raw::c_int;
use std::result::Result;
use std::sync::LazyLock;

/// The optimal mmap threshold for Lighthouse seems to be around 128KB.
///
Expand Down

0 comments on commit aad8727

Please sign in to comment.