about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/alias-2.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-29 04:23:24 +0100
committerGitHub <noreply@github.com>2023-11-29 04:23:24 +0100
commite8d0c563315b31426ba18d4b8aba43c87c3391a6 (patch)
treeb35b15b30c95181450e630d19a20a07fbc844466 /tests/rustdoc-js-std/alias-2.js
parent8cfdccf7c87f2d87a72f0b60ea2d16218ca27fb8 (diff)
parent5161b22143bf9a726cfd69d19bef11552d0ed519 (diff)
downloadrust-e8d0c563315b31426ba18d4b8aba43c87c3391a6.tar.gz
rust-e8d0c563315b31426ba18d4b8aba43c87c3391a6.zip
Rollup merge of #118422 - tmiasko:mix, r=compiler-errors
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.

Fixes #116953.
Diffstat (limited to 'tests/rustdoc-js-std/alias-2.js')
0 files changed, 0 insertions, 0 deletions