mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 13:40:15 +03:00
284b59c4dc
Skip field retagging on ZSTs, it can take forever I just tried running the `alloc`'s tests with `miri-test-libstd` with field retagging enabled. The test suite eventually hangs on a few tests which pass around ZSTs that have a lot of fields. I don't really know how to test this effectively. The test passes, but if you remove this fast-path it effectively just hangs the interpreter. And since it hangs _inside_ a step, there's no hope for doing some kind of timeout within the test.