diff options
author | Léo Gaspard <leo@gaspard.io> | 2018-01-03 19:58:34 +0100 |
---|---|---|
committer | Léo Gaspard <leo@gaspard.io> | 2018-01-03 19:58:34 +0100 |
commit | 3f35a93eefa8d7ac81528964e4a16030a992980c (patch) | |
tree | ec4de8fbfa80cc7654fa6c2e1e83f93d79232ebc | |
parent | ac523232d317373aec9c638f6b0451c78f11f892 (diff) |
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. |