Skip to content

Commit 9772235

Browse files
committed
Add missing system-unwind abi string
1 parent 90f813a commit 9772235

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/ffi.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ The following :t:`[ABI]s` are supported:
7777
``extern "system"`` - The operating system-dependent :t:`ABI`, referred to as
7878
:dt:`external system ABI`.
7979

80+
* :dp:`fls_NQAzj5ai1La5`
81+
``extern "system-unwind"`` - The same as ``extern "system"`` with the
82+
addition that unwinding across FFI is permitted.
83+
8084
:dp:`fls_r2drzo3dixe4`
8185
A :t:`function` without an explicit :t:`ABI` has implicit :t:`Rust ABI`, unless
8286
it appears within an :t:`external block`.
@@ -118,8 +122,8 @@ include, but may not be limited to, the following:
118122

119123
:dp:`fls_M4LqHf8hbPA8`
120124
It is undefined behavior when a foreign exception crosses a
121-
:t:`foreign function interface` boundary with an :t:`ABI` other than
122-
``extern "C-unwind"``.
125+
:t:`foreign function interface` boundary with an :t:`ABI` that does not end in
126+
``-unwind``.
123127

124128
.. rubric:: Examples
125129

0 commit comments

Comments
 (0)