File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- use crate :: alloc:: { self , GlobalAlloc , Layout , System } ;
1+ use crate :: alloc:: { GlobalAlloc , Layout , System } ;
22
33use super :: waitqueue:: SpinMutex ;
44
@@ -36,11 +36,11 @@ unsafe impl GlobalAlloc for System {
3636#[ cfg( not( test) ) ]
3737#[ no_mangle]
3838pub unsafe extern "C" fn __rust_c_alloc ( size : usize , align : usize ) -> * mut u8 {
39- alloc:: alloc ( Layout :: from_size_align_unchecked ( size, align) )
39+ crate :: alloc:: alloc ( Layout :: from_size_align_unchecked ( size, align) )
4040}
4141
4242#[ cfg( not( test) ) ]
4343#[ no_mangle]
4444pub unsafe extern "C" fn __rust_c_dealloc ( ptr : * mut u8 , size : usize , align : usize ) {
45- alloc:: dealloc ( ptr, Layout :: from_size_align_unchecked ( size, align) )
45+ crate :: alloc:: dealloc ( ptr, Layout :: from_size_align_unchecked ( size, align) )
4646}
You can’t perform that action at this time.
0 commit comments