rust/src/liballoc
Mike Hommey 0f4ef003ac Pass a Layout to oom
As discussed in
https://github.com/rust-lang/rust/issues/49668#issuecomment-384893456
and subsequent, there are use-cases where the OOM handler needs to know
the size of the allocation that failed. The alignment might also be a
cause for allocation failure, so providing it as well can be useful.
2018-05-30 05:35:48 +09:00
..
benches Move deny(warnings) into rustbuild 2018-04-08 16:59:14 -06:00
btree stabilize RangeBounds collections_range #30877 2018-05-24 05:01:40 -07:00
tests Auto merge of #49283 - varkor:combining-chars-escape_debug, r=SimonSapin 2018-05-21 23:26:32 +00:00
alloc.rs Pass a Layout to oom 2018-05-30 05:35:48 +09:00
arc.rs Pass a Layout to oom 2018-05-30 05:35:48 +09:00
binary_heap.rs Use ManuallyDrop instead of Option in Hole implementation 2018-05-06 16:55:40 +02:00
borrow.rs Add #[must_use] to a few standard library methods 2018-03-30 23:06:05 -07:00
boxed_test.rs
boxed.rs Make Unpin safe to implement 2018-05-22 17:24:49 -07:00
Cargo.toml Switch to 1.26 bootstrap compiler 2018-05-17 08:47:25 -06:00
fmt.rs Add inner links in documentation 2018-05-25 22:55:33 +02:00
heap.rs Remove Alloc::oom 2018-04-22 10:08:49 -07:00
lib.rs Switch to 1.26 bootstrap compiler 2018-05-17 08:47:25 -06:00
linked_list.rs Auto merge of #48945 - clarcharr:iter_exhaust, r=Kimundi 2018-04-16 13:21:56 +00:00
macros.rs
raw_vec.rs Pass a Layout to oom 2018-05-30 05:35:48 +09:00
rc.rs Pass a Layout to oom 2018-05-30 05:35:48 +09:00
repeat-generic-slice.rs Add run-pass test for repeat-generic-slice feature 2018-03-28 09:02:27 +02:00
slice.rs Stabilize feature from_ref 2018-05-21 18:16:08 +02:00
str.rs Avoid counting characters and add explanatory comment to test 2018-05-21 18:57:54 +01:00
string.rs stabilize RangeBounds collections_range #30877 2018-05-24 05:01:40 -07:00
vec_deque.rs stabilize RangeBounds collections_range #30877 2018-05-24 05:01:40 -07:00
vec.rs stabilize RangeBounds collections_range #30877 2018-05-24 05:01:40 -07:00