mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-14 05:22:35 +00:00
libcore tests: avoid int2ptr casts We don't need any of these pointers to actually be dereferenceable so using `ptr::invalid` should be fine. And then we can run Miri with strict provenance enforcement on the tests.