File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ rust_defaults {
2323 rustlibs : [
2424 " libcrossbeam_queue" ,
2525 " libparking_lot" ,
26- " libonce_cell" ,
2726 " libcxx" ,
2827 ],
2928 shared_libs : [" libutils" ],
Original file line number Diff line number Diff line change @@ -17,12 +17,14 @@ use super::event::Event;
1717use super :: event_type:: EventType ;
1818use super :: storage:: Storage ;
1919use crate :: cxxffi:: uptimeMillis;
20- use once_cell:: sync:: Lazy ;
2120use std:: fmt;
22- use std:: sync:: atomic:: { AtomicU64 , Ordering } ;
21+ use std:: sync:: {
22+ atomic:: { AtomicU64 , Ordering } ,
23+ LazyLock ,
24+ } ;
2325
2426// Lazily initialized static instance of DebugStore.
25- static INSTANCE : Lazy < DebugStore > = Lazy :: new ( DebugStore :: new) ;
27+ static INSTANCE : LazyLock < DebugStore > = LazyLock :: new ( DebugStore :: new) ;
2628
2729/// The `DebugStore` struct is responsible for managing debug events and data.
2830pub struct DebugStore {
You can’t perform that action at this time.
0 commit comments