Abort when catch_unwind catches a foreign exception
This commit is contained in:
parent
118860a7e7
commit
239f833ed1
26 changed files with 274 additions and 104 deletions
|
@ -359,6 +359,9 @@ impl<F: Future> Future for AssertUnwindSafe<F> {
|
|||
/// aborting the process as well. This function *only* catches unwinding panics,
|
||||
/// not those that abort the process.
|
||||
///
|
||||
/// Also note that unwinding into Rust code with a foreign exception (e.g. a
|
||||
/// an exception thrown from C++ code) is undefined behavior.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue