From aad8727f52fc3a53df77b9f7b7e08a591e6fef14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Thu, 8 Aug 2024 06:55:47 +0100 Subject: [PATCH] add missing use std::sync::Lazylock to malloc_utils::glibc (#6234) * add missing use std::sync::Lazylock --- common/malloc_utils/src/glibc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/common/malloc_utils/src/glibc.rs b/common/malloc_utils/src/glibc.rs index 9531102682d..41d8d28291d 100644 --- a/common/malloc_utils/src/glibc.rs +++ b/common/malloc_utils/src/glibc.rs @@ -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. ///