rust/library/alloc/src/collections
Guillaume Gomez 53b6a894ca
Rollup merge of #104097 - RalfJung:miri-alloc-benches, r=thomcc
run alloc benchmarks in Miri and fix UB

Miri since recently has a "fake monotonic clock" that works even with isolation. Its measurements are not very meaningful but it means we can run these benches and check them for UB.

And that's a good thing since there was UB here: fixes https://github.com/rust-lang/rust/issues/104096.

r? ``@thomcc``
2022-11-08 20:40:50 +01:00
..
binary_heap Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
btree disable btree size tests on Miri 2022-11-07 09:29:14 +01:00
linked_list Use Box::new() instead of box syntax in alloc tests 2022-05-29 00:41:14 +02:00
vec_deque fmt 2022-11-07 15:24:49 +01:00
binary_heap.rs Guarantee try_reserve preserves the contents on error 2022-08-10 01:51:38 +09:00
linked_list.rs more dupe word typos 2022-10-14 12:57:56 +08:00
mod.rs Modify comment syntax error 2022-11-07 14:33:33 +08:00