Skip to content

Commit

Permalink
Merge pull request rust-lang#1209 from Ekleog/master
Browse files Browse the repository at this point in the history
Mark C++ exceptions as unsupported in the book
  • Loading branch information
emilio authored Jan 5, 2018
2 parents 45df62c + 3f35a93 commit af78302
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions book/src/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ cannot translate into Rust:

* Automatically calling copy and/or move constructors or destructors. Supporting
this isn't possible with Rust's move semantics.

* Exceptions: if a function called through a `bindgen`-generated interface
raises an exception that is not caught by the function itself, this will
generate undefined behaviour. See
[the tracking issue for exceptions](https://github.com/rust-lang-nursery/rust-bindgen/issues/1208)
for more details.

0 comments on commit af78302

Please sign in to comment.