rust/tests/ui/coroutine/auxiliary
Tomasz Miąsko 5161b22143 Fix coroutine validation for mixed panic strategy
Validation introduced in #113124 allows UnwindAction::Continue and
TerminatorKind::Resume to occur only in functions with ABI that can
unwind. The function ABI depends on the panic strategy, which can vary
across crates.

Usually MIR is built and validated in the same crate. The coroutine drop
glue thus far was an exception. As a result validation could fail when
mixing different panic strategies.

Avoid the problem by executing AbortUnwindingCalls along with the
validation.
2023-11-28 21:11:24 +01:00
..
metadata-sufficient-for-layout.rs Rename generator folder 2023-10-20 21:14:02 +00:00
unwind-aux.rs Fix coroutine validation for mixed panic strategy 2023-11-28 21:11:24 +01:00
xcrate-reachable.rs Rename generator folder 2023-10-20 21:14:02 +00:00
xcrate.rs Rename generator folder 2023-10-20 21:14:02 +00:00