[IGNORE] Tidy up dump-ice-to-disk
and make assertion failures dump ICE messages
#128960
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Same PR as #128916 but the other one was cursed.
For the future traveler: if you did a
git blame
and found this PR that last modifieddump-ice-to-disk
because the test failed in a completely unrelated PR, then I'm afraid our ICE dump regressed.A bit of clean up to the
dump-ice-to-disk
test.tests/run-make/dump-ice-to-disk
is flakey on i686-mingw #128911 for flakiness.rustc-ice*.txt
dumps, run each test instance in a separate temp directory.RUSTC_ICE
unavailable in one of the-Zmetrics-dir
test case to not have interference from environment.tests/run-make/dump-ice-to-disk
is flakey on i686-mingw #128911).Contains a fix by @saethlin in #128909, should wait until that is merged then rebase on top.
r? @compiler-errors (since you reviewed #128916)