rust/library/alloc
Ralf Jung 9d0a265b6c
Rollup merge of #76662 - RalfJung:lib-test-miri, r=Mark-Simulacrum
Fix liballoc test suite for Miri

Mostly, fix the regression introduced by https://github.com/rust-lang/rust/pull/75207 that caused slices (i.e., references) to be created to invalid memory or memory that has aliasing pointers that we want to keep valid. @dylni  this changes the type of `check_range` to only require the length, not the full reference to the slice, which indeed is all the information this function requires.

Also reduce the size of a test introduced in https://github.com/rust-lang/rust/pull/70793 to make it not take 3 minutes in Miri.

This makes https://github.com/RalfJung/miri-test-libstd work again.
2020-09-16 08:25:02 +02:00
..
benches fix benchmark compile errors 2020-09-03 20:59:33 +02:00
src Rollup merge of #76662 - RalfJung:lib-test-miri, r=Mark-Simulacrum 2020-09-16 08:25:02 +02:00
tests Rollup merge of #76662 - RalfJung:lib-test-miri, r=Mark-Simulacrum 2020-09-16 08:25:02 +02:00
Cargo.toml