From d1a59f543e6f7a5469b4a15d8122b0cdd05434a0 Mon Sep 17 00:00:00 2001 From: Kyle J Strand Date: Mon, 16 Jan 2023 19:31:31 -0700 Subject: [PATCH] Re-word: only "most" ABIs have `-unwind` --- src/ffi.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffi.md b/src/ffi.md index 853009b..684e712 100644 --- a/src/ffi.md +++ b/src/ffi.md @@ -721,9 +721,9 @@ No `transmute` required! ## FFI and unwinding -It’s important to be mindful of unwinding when working with FFI. Each -ABI comes in two variants, one with `-unwind` suffix and one without (except -the `Rust` ABI, which always permits unwinding). +It’s important to be mindful of unwinding when working with FFI. Most +ABI strings come in two variants, one with an `-unwind` suffix and one without. +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 boundary, that boundary must use the appropriate `-unwind` ABI string.