Open RalfJung opened 3 weeks ago
Turns out this is a lot harder than I thought, for two reasons:
-Zmiri
flags which rustc of course chokes on. We should ideally ignore those flags when building with rustc.We'll also want some way to have a test opt-out from this, some of our tests fundamentally can only work in Miri.
So this will probably require some pretty advanced ui_test surgery or so, not quite sure how to best do this.
Here's my WIP patch, I will not work further on this:
Some of our pass-dep tests currently do not pass when they are run against real rustc, e.g.
tests/pass-dep/libc/libc-epoll.rs
. That's quite strange, but I guess it's not surprising given that we are not even running these tests against real rustc in CI.