File tree Expand file tree Collapse file tree
dedicated_block_allocator Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22#[ cfg( feature = "std" ) ]
33use std:: { backtrace:: Backtrace , sync:: Arc } ;
44
5- #[ cfg( feature = "visualizer" ) ]
6- pub ( crate ) mod visualizer;
75use alloc:: {
86 borrow:: ToOwned ,
97 string:: { String , ToString } ,
@@ -12,6 +10,9 @@ use alloc::{
1210
1311use log:: { log, Level } ;
1412
13+ #[ cfg( feature = "visualizer" ) ]
14+ pub ( crate ) mod visualizer;
15+
1516use super :: { AllocationReport , AllocationType , SubAllocator , SubAllocatorBase } ;
1617use crate :: { AllocationError , Result } ;
1718
Original file line number Diff line number Diff line change 11#![ deny( unsafe_code, clippy:: unwrap_used) ]
22
3- #[ cfg( feature = "visualizer" ) ]
4- pub ( crate ) mod visualizer;
5-
63use alloc:: {
74 borrow:: ToOwned ,
85 string:: { String , ToString } ,
@@ -17,6 +14,9 @@ use std::{backtrace::Backtrace, sync::Arc};
1714use hashbrown:: { HashMap , HashSet } ;
1815use log:: { log, Level } ;
1916
17+ #[ cfg( feature = "visualizer" ) ]
18+ pub ( crate ) mod visualizer;
19+
2020use super :: { AllocationReport , AllocationType , SubAllocator , SubAllocatorBase } ;
2121use crate :: { AllocationError , Result } ;
2222
You can’t perform that action at this time.
0 commit comments