Skip to content

Commit 3f35a93

Browse files
committed
Mark C++ exceptions as unsupported in the book
1 parent ac52323 commit 3f35a93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/src/cpp.md

+6
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ cannot translate into Rust:
6565

6666
* Automatically calling copy and/or move constructors or destructors. Supporting
6767
this isn't possible with Rust's move semantics.
68+
69+
* Exceptions: if a function called through a `bindgen`-generated interface
70+
raises an exception that is not caught by the function itself, this will
71+
generate undefined behaviour. See
72+
[the tracking issue for exceptions](https://github.com/rust-lang-nursery/rust-bindgen/issues/1208)
73+
for more details.

0 commit comments

Comments
 (0)