rust/library/alloc
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
..
benches Stabilize map_first_last 2022-09-30 17:00:07 +02:00
src Rollup merge of #104097 - RalfJung:miri-alloc-benches, r=thomcc 2022-11-08 20:40:50 +01:00
tests Add regression test for lifetimes in alloc internals autotraits 2022-10-05 12:15:17 -07:00
Cargo.toml Switch all libraries to the 2021 edition 2021-12-23 19:03:47 +08:00