We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b27f35 commit 991b6a3Copy full SHA for 991b6a3
std/src/panic.rs
@@ -114,6 +114,9 @@ where
114
/// aborting the process as well. This function *only* catches unwinding panics,
115
/// not those that abort the process.
116
///
117
+/// Note that if a custom panic hook has been set, it will be invoked before
118
+/// the panic is caught, before unwinding.
119
+///
120
/// Also note that unwinding into Rust code with a foreign exception (e.g.
121
/// an exception thrown from C++ code) is undefined behavior.
122
0 commit comments