File tree 2 files changed +6
-5
lines changed
dedicated_block_allocator 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 2
2
#[ cfg( feature = "std" ) ]
3
3
use std:: { backtrace:: Backtrace , sync:: Arc } ;
4
4
5
- #[ cfg( feature = "visualizer" ) ]
6
- pub ( crate ) mod visualizer;
7
5
use alloc:: {
8
6
borrow:: ToOwned ,
9
7
string:: { String , ToString } ,
@@ -12,6 +10,9 @@ use alloc::{
12
10
13
11
use log:: { log, Level } ;
14
12
13
+ #[ cfg( feature = "visualizer" ) ]
14
+ pub ( crate ) mod visualizer;
15
+
15
16
use super :: { AllocationReport , AllocationType , SubAllocator , SubAllocatorBase } ;
16
17
use crate :: { AllocationError , Result } ;
17
18
Original file line number Diff line number Diff line change 1
1
#![ deny( unsafe_code, clippy:: unwrap_used) ]
2
2
3
- #[ cfg( feature = "visualizer" ) ]
4
- pub ( crate ) mod visualizer;
5
-
6
3
use alloc:: {
7
4
borrow:: ToOwned ,
8
5
string:: { String , ToString } ,
@@ -17,6 +14,9 @@ use std::{backtrace::Backtrace, sync::Arc};
17
14
use hashbrown:: { HashMap , HashSet } ;
18
15
use log:: { log, Level } ;
19
16
17
+ #[ cfg( feature = "visualizer" ) ]
18
+ pub ( crate ) mod visualizer;
19
+
20
20
use super :: { AllocationReport , AllocationType , SubAllocator , SubAllocatorBase } ;
21
21
use crate :: { AllocationError , Result } ;
22
22
You can’t perform that action at this time.
0 commit comments