Skip to content

Commit a4af6ac

Browse files
Merge pull request rust-lang#207 from rust-lang-nursery/steveklabnik-patch-1
remove unwinding from UB
2 parents 6608583 + 032be14 commit a4af6ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/behavior-considered-undefined.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ to let `safe` code exhibit these behaviors.
2828
* A discriminant in an `enum` not included in the type definition.
2929
* A value in a `char` which is a surrogate or above `char::MAX`.
3030
* Non-UTF-8 byte sequences in a `str`.
31-
* Unwinding into Rust from foreign code or unwinding from Rust into foreign
32-
code. Rust's panic system is not compatible with exception handling in
33-
other languages. Unwinding must be caught and handled at FFI boundaries.
3431

3532
[noalias]: http://llvm.org/docs/LangRef.html#noalias
3633
[pointer aliasing rules]: http://llvm.org/docs/LangRef.html#pointer-aliasing-rules

0 commit comments

Comments
 (0)