Files
rust/tests
Jonathan Brouwer 015a98950e Rollup merge of #160399 - RalfJung:interpret-deref-validity, r=oli-obk
interpret: skip deref-projection validity checks when they are not needed

Trying to claw back the perf regression from https://github.com/rust-lang/rust/pull/160012.

We could also, like, skip the entire check in const-eval when we don't care about validity. But the slowdown will also affect Miri so I want to first try what we can do without doing less UB checking.
2026-08-04 14:41:27 +02:00
..