mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
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.