diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs index 3d3867a7..5e22b1e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,7 +45,6 @@ pub fn main() { match builder_from_flags(bind_args.into_iter()) { Ok((builder, output, verbose)) => { - let builder_result = panic::catch_unwind(|| { builder.generate().expect("Unable to generate bindings") }); @@ -71,12 +70,12 @@ fn print_verbose_err() { println!("Bindgen unexpectedly panicked"); println!( "This may be caused by one of the known-unsupported \ - things (https://rust-lang.github.io/rust-bindgen/cpp.html), \ - please modify the bindgen flags to work around it as \ - described in https://rust-lang.github.io/rust-bindgen/cpp.html" + things (https://rust-lang.github.io/rust-bindgen/cpp.html), \ + please modify the bindgen flags to work around it as \ + described in https://rust-lang.github.io/rust-bindgen/cpp.html" ); println!( "Otherwise, please file an issue at \ - https://github.com/rust-lang/rust-bindgen/issues/new" + https://github.com/rust-lang/rust-bindgen/issues/new" ); } |