diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-08-09 09:56:13 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2022-08-12 16:28:15 -0400 |
| commit | 154a09dd913edc7db698b8a7230c720a8f0baa74 (patch) | |
| tree | 2ce869cebc15cc5325f538ab69bbeb9ec8358228 /library/alloc | |
| parent | 7b42606758ad75c09ff6b37122a2aec6ef4a9f7e (diff) | |
| download | rust-154a09dd913edc7db698b8a7230c720a8f0baa74.tar.gz rust-154a09dd913edc7db698b8a7230c720a8f0baa74.zip | |
Adjust cfgs
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/alloc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs index cc8da7bccff..80b067812ba 100644 --- a/library/alloc/src/alloc.rs +++ b/library/alloc/src/alloc.rs @@ -30,13 +30,13 @@ extern "Rust" { #[rustc_allocator] #[rustc_allocator_nounwind] fn __rust_alloc(size: usize, align: usize) -> *mut u8; - #[cfg_attr(not(bootstrap), rustc_deallocator)] + #[rustc_deallocator] #[rustc_allocator_nounwind] fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize); - #[cfg_attr(not(bootstrap), rustc_reallocator)] + #[rustc_reallocator] #[rustc_allocator_nounwind] fn __rust_realloc(ptr: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8; - #[cfg_attr(not(bootstrap), rustc_allocator_zeroed)] + #[rustc_allocator_zeroed] #[rustc_allocator_nounwind] fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8; } |
