rust/library/alloc/benches
Ben Kimock 6e6d0cbf83 Add debug assertions to some unsafe functions
These debug assertions are all implemented only at runtime using
`const_eval_select`, and in the error path they execute
`intrinsics::abort` instead of being a normal debug assertion to
minimize the impact of these assertions on code size, when enabled.

Of all these changes, the bounds checks for unchecked indexing are
expected to be most impactful (case in point, they found a problem in
rustc).
2022-03-29 11:05:24 -04:00
..
btree Add #[must_use] to remaining alloc functions 2021-10-15 11:46:49 -04:00
binary_heap.rs Fix may not to appropriate might not or must not 2021-07-29 01:15:20 -04:00
lib.rs
linked_list.rs
slice.rs
str.rs
string.rs
vec_deque_append.rs
vec_deque.rs add benchmark for From<[T; N]> in VecDeque 2021-08-28 19:46:58 -07:00
vec.rs Add debug assertions to some unsafe functions 2022-03-29 11:05:24 -04:00