File tree 6 files changed +5
-3
lines changed
6 files changed +5
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ pub mod alloc;
Original file line number Diff line number Diff line change 22
22
23
23
#![ allow( missing_debug_implementations) ]
24
24
25
+ mod common;
26
+
25
27
cfg_if:: cfg_if! {
26
28
if #[ cfg( target_os = "vxworks" ) ] {
27
29
mod vxworks;
Original file line number Diff line number Diff line change 1
1
use crate :: alloc:: { GlobalAlloc , Layout , System } ;
2
2
use crate :: ptr;
3
- use crate :: sys_common :: alloc:: { realloc_fallback, MIN_ALIGN } ;
3
+ use crate :: sys :: common :: alloc:: { realloc_fallback, MIN_ALIGN } ;
4
4
5
5
#[ stable( feature = "alloc_system_type" , since = "1.28.0" ) ]
6
6
unsafe impl GlobalAlloc for System {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use crate::ffi::c_void;
5
5
use crate :: ptr;
6
6
use crate :: sync:: atomic:: { AtomicPtr , Ordering } ;
7
7
use crate :: sys:: c;
8
- use crate :: sys_common :: alloc:: { realloc_fallback, MIN_ALIGN } ;
8
+ use crate :: sys :: common :: alloc:: { realloc_fallback, MIN_ALIGN } ;
9
9
10
10
#[ cfg( test) ]
11
11
mod tests;
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ macro_rules! rtunwrap {
46
46
} ;
47
47
}
48
48
49
- pub mod alloc;
50
49
pub mod at_exit_imp;
51
50
pub mod backtrace;
52
51
pub mod bytestring;
You can’t perform that action at this time.
0 commit comments