Bump to 1.31.0 and bootstrap from 1.30 beta
This commit is contained in:
@@ -151,14 +151,12 @@ pub mod __default_lib_allocator {
|
||||
// ABI
|
||||
|
||||
#[rustc_std_internal_symbol]
|
||||
#[cfg_attr(stage0, no_mangle)]
|
||||
pub unsafe extern fn __rdl_alloc(size: usize, align: usize) -> *mut u8 {
|
||||
let layout = Layout::from_size_align_unchecked(size, align);
|
||||
System.alloc(layout)
|
||||
}
|
||||
|
||||
#[rustc_std_internal_symbol]
|
||||
#[cfg_attr(stage0, no_mangle)]
|
||||
pub unsafe extern fn __rdl_dealloc(ptr: *mut u8,
|
||||
size: usize,
|
||||
align: usize) {
|
||||
@@ -166,7 +164,6 @@ pub mod __default_lib_allocator {
|
||||
}
|
||||
|
||||
#[rustc_std_internal_symbol]
|
||||
#[cfg_attr(stage0, no_mangle)]
|
||||
pub unsafe extern fn __rdl_realloc(ptr: *mut u8,
|
||||
old_size: usize,
|
||||
align: usize,
|
||||
@@ -176,7 +173,6 @@ pub mod __default_lib_allocator {
|
||||
}
|
||||
|
||||
#[rustc_std_internal_symbol]
|
||||
#[cfg_attr(stage0, no_mangle)]
|
||||
pub unsafe extern fn __rdl_alloc_zeroed(size: usize, align: usize) -> *mut u8 {
|
||||
let layout = Layout::from_size_align_unchecked(size, align);
|
||||
System.alloc_zeroed(layout)
|
||||
|
||||
Reference in New Issue
Block a user