diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-01-06 00:50:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 00:50:21 +0100 |
commit | af78302988681478f7daeb98c03257ba283dbb45 (patch) | |
tree | 6d1b2decea13c5f90eb42c72a8e27cdeb89e31e6 | |
parent | 45df62c169270affd4c843672a919c0329a745e3 (diff) | |
parent | 3f35a93eefa8d7ac81528964e4a16030a992980c (diff) |
Merge pull request #1209 from Ekleog/master
Mark C++ exceptions as unsupported in the book
-rw-r--r-- | book/src/cpp.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/book/src/cpp.md b/book/src/cpp.md index d181dec4..03249016 100644 --- a/book/src/cpp.md +++ b/book/src/cpp.md @@ -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. |