about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-29 11:46:26 +0000
committerbors <bors@rust-lang.org>2022-08-29 11:46:26 +0000
commit284b59c4dc89ef7fe44ac0b372394081fcbb88f5 (patch)
tree88c300c879478c68d42720ef3c83912ad929127c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff
parentfec1c7aa325026424b9f66a7f1625177c27e964f (diff)
parentc9b36b4dedab0c1b44f0357ddbf4ebc3a702e259 (diff)
downloadrust-284b59c4dc89ef7fe44ac0b372394081fcbb88f5.tar.gz
rust-284b59c4dc89ef7fe44ac0b372394081fcbb88f5.zip
Auto merge of #2517 - saethlin:zst-field-retagging, r=RalfJung
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions