mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00

use a single large catch_unwind in lang_start I originally planned to use `abort_unwind` but reading the comment in `thread_cleanup` it seems we are deliberately going for slightly nicer error messages here, so this preserves that. It still seems nice to not repeat `catch_unwind` so often.