mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 03:10:33 +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.