ladybird/Libraries/LibJS/Rust
Andreas Kling 1c40257c7f LibJS/Rust: Restore unwind handler when trampolining through finally
When break/continue trampolines through nested finally blocks, we need
to restore the unwind handler to the level that was active before each
finally context was pushed. Without this, trampoline blocks created for
inner finally dispatch incorrectly inherited the innermost exception
handler, causing exception handler range mismatches with C++.

Store the current_unwind_handler in each FinallyContext at push time,
and restore it in emit_trampoline_through_finally when popping through.
2026-03-01 21:20:54 +01:00
..
src LibJS/Rust: Restore unwind handler when trampolining through finally 2026-03-01 21:20:54 +01:00
build.rs Meta: Add 'cargo clippy -- -D clippy::all' to lint-ci.sh 2026-02-24 16:35:51 +01:00
Cargo.toml LibJs/Rust: Migrate to edition 2024 2026-02-24 16:35:51 +01:00