Skip to content

Commit

Permalink
Merge pull request #207 from rust-lang-nursery/steveklabnik-patch-1
Browse files Browse the repository at this point in the history
remove unwinding from UB
  • Loading branch information
matthewjasper authored Jan 21, 2018
2 parents 6608583 + 032be14 commit a4af6ac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/behavior-considered-undefined.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ to let `safe` code exhibit these behaviors.
* A discriminant in an `enum` not included in the type definition.
* A value in a `char` which is a surrogate or above `char::MAX`.
* Non-UTF-8 byte sequences in a `str`.
* Unwinding into Rust from foreign code or unwinding from Rust into foreign
code. Rust's panic system is not compatible with exception handling in
other languages. Unwinding must be caught and handled at FFI boundaries.

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

0 comments on commit a4af6ac

Please sign in to comment.