runtime: mark runtime::Handle unwind-safe (#7230)

This commit is contained in:
Alex Bakon 2025-04-08 07:38:04 -04:00 committed by GitHub
parent 83d550e511
commit 77de684ed9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,6 +443,10 @@ impl Handle {
} }
} }
impl std::panic::UnwindSafe for Handle {}
impl std::panic::RefUnwindSafe for Handle {}
cfg_taskdump! { cfg_taskdump! {
impl Handle { impl Handle {
/// Captures a snapshot of the runtime's state. /// Captures a snapshot of the runtime's state.