Skip to content

Commit af78302

Browse files
authored
Merge pull request rust-lang#1209 from Ekleog/master
Mark C++ exceptions as unsupported in the book
2 parents 45df62c + 3f35a93 commit af78302

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)