rust/library/alloc/src
Matthias Krüger f8b65f7bc7
Rollup merge of #147526 - bjorn3:alloc_shim_weak_shape, r=petrochenkov,RalfJung
Move computation of allocator shim contents to cg_ssa

In the future this should make it easier to use weak symbols for the allocator shim on platforms that properly support weak symbols. And it would allow reusing the allocator shim code for handling default implementations of the upcoming externally implementable items feature on platforms that don't properly support weak symbols.

In addition to make this possible, the alloc error handler is now handled in a way such that it is possible to avoid using the allocator shim when liballoc is compiled without `no_global_oom_handling` if you use `#[alloc_error_handler]`. Previously this was only possible if you avoided liballoc entirely or compiled it with `no_global_oom_handling`. You still need to avoid libstd and to define the symbol that indicates that avoiding the allocator shim is unstable.
2025-10-14 19:47:29 +02:00
..
boxed remove deprecated Error::description in impls 2025-08-26 06:36:53 +00:00
collections extended doc comment 2025-10-01 21:22:53 +00:00
ffi alloc: simplify Default for Box<CStr> and Rc<CStr> 2025-09-24 14:13:34 +02:00
raw_vec Move more code to RawVec::finish_grow 2025-09-28 15:19:19 +02:00
vec Auto merge of #147042 - Noratrieb:untrack-caller-vec, r=tgross35 2025-09-28 03:23:45 +00:00
wtf8 Diff-massaging commit 2025-08-20 20:31:33 -04:00
alloc.rs Support #[alloc_error_handler] without the allocator shim 2025-10-10 13:04:53 +00:00
borrow.rs Constify conversion traits 2025-09-01 21:38:26 -04:00
boxed.rs implement Box::take 2025-10-01 17:21:12 +02:00
bstr.rs Fully test the alloc crate through alloctests 2025-03-07 19:11:13 +00:00
fmt.rs Fix format string grammar in docs and improve alignment error message 2025-08-27 20:45:41 +05:30
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Rollup merge of #145685 - Qelxiros:cell_get_cloned, r=programmerjake,tgross35 2025-10-04 17:11:08 +02:00
macros.rs Streamline the format macro. 2025-04-28 06:56:13 +10:00
rc.rs Rollup merge of #145685 - Qelxiros:cell_get_cloned, r=programmerjake,tgross35 2025-10-04 17:11:08 +02:00
slice.rs Remove [T]::array_chunks(_mut) 2025-07-27 23:03:07 -07:00
str.rs optimization: Don't include ASCII characters in Unicode tables 2025-09-07 15:21:24 +02:00
string.rs Remove most #[track_caller] from allocating Vec methods 2025-09-25 20:52:03 +02:00
sync.rs Rollup merge of #145685 - Qelxiros:cell_get_cloned, r=programmerjake,tgross35 2025-10-04 17:11:08 +02:00
task.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00