Re-word: only "most" ABIs have `-unwind`

pull/396/head
Kyle J Strand 2 years ago committed by Tyler Mandry
parent 94bb6a629b
commit d1a59f543e

@ -721,9 +721,9 @@ No `transmute` required!
## FFI and unwinding ## FFI and unwinding
Its important to be mindful of unwinding when working with FFI. Each Its important to be mindful of unwinding when working with FFI. Most
ABI comes in two variants, one with `-unwind` suffix and one without (except ABI strings come in two variants, one with an `-unwind` suffix and one without.
the `Rust` ABI, which always permits unwinding). The `Rust` ABI always permits unwinding, so there is no `Rust-unwind` ABI.
If you expect Rust `panic`s or foreign (e.g. C++) exceptions to cross an FFI If you expect Rust `panic`s or foreign (e.g. C++) exceptions to cross an FFI
boundary, that boundary must use the appropriate `-unwind` ABI string. boundary, that boundary must use the appropriate `-unwind` ABI string.

Loading…
Cancel
Save