summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--bindgen-cli/main.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 87a74acd..de08d829 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -153,6 +153,7 @@
* Regex inputs are sanitized so alternation (`a|b`) is handled correctly but
wildcard patterns (`*`) are now considered invalid.
+ * the `ParseCallbacks`trait does not require to implement `UnwindSafe`.
## Removed
diff --git a/bindgen-cli/main.rs b/bindgen-cli/main.rs
index fed454af..a3b36126 100644
--- a/bindgen-cli/main.rs
+++ b/bindgen-cli/main.rs
@@ -41,10 +41,11 @@ pub fn main() {
#[cfg(feature = "logging")]
clang_version_check();
- std::panic::set_hook(Box::new(move |_info| {
+ std::panic::set_hook(Box::new(move |info| {
if verbose {
print_verbose_err()
}
+ println!("{}", info);
}));
let bindings =