Skip to content

Commit ccaf192

Browse files
author
bors-servo
authored
Auto merge of #1209 - Ekleog:master, r=emilio
Mark C++ exceptions as unsupported in the book This should close #1172 . It's my first contribution to the book, so I hope it's not too far from expected usage!
2 parents 45df62c + 3f35a93 commit ccaf192

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/src/cpp.md

Lines changed: 6 additions & 0 deletions
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)