Skip to content

Commit 0ecef2c

Browse files
committed
more careful wording for unwinding
1 parent a64e5d9 commit 0ecef2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/behavior-considered-undefined.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ code.
3232
* Invoking undefined behavior via compiler intrinsics.
3333
* Executing code compiled with platform features that the current platform
3434
does not support (see [`target_feature`]).
35-
* Unwinding into another language.
35+
* Unwinding from an imported `extern` function into Rust, or from Rust out of an
36+
`extern` function, except when explicitly supported by the ABI.
3637
* Producing an invalid value, even in private fields and locals. "Producing" a
3738
value happens any time a value is assigned, passed to a function/primitive
3839
operation or returned from a function/primitive operation.

0 commit comments

Comments
 (0)