Skip to content

Commit d1a59f5

Browse files
BatmanAoDtmandry
authored andcommitted
Re-word: only "most" ABIs have -unwind
1 parent 94bb6a6 commit d1a59f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ffi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,9 @@ No `transmute` required!
721721
722722
## FFI and unwinding
723723
724-
It’s important to be mindful of unwinding when working with FFI. Each
725-
ABI comes in two variants, one with `-unwind` suffix and one without (except
726-
the `Rust` ABI, which always permits unwinding).
724+
It’s important to be mindful of unwinding when working with FFI. Most
725+
ABI strings come in two variants, one with an `-unwind` suffix and one without.
726+
The `Rust` ABI always permits unwinding, so there is no `Rust-unwind` ABI.
727727
728728
If you expect Rust `panic`s or foreign (e.g. C++) exceptions to cross an FFI
729729
boundary, that boundary must use the appropriate `-unwind` ABI string.

0 commit comments

Comments
 (0)