fix: update bindgen in libmdbx-rs (#2703)

This commit is contained in:
Dan Cline
2023-05-16 21:21:02 -04:00
committed by GitHub
parent 9b79218c18
commit ca6724f106
4 changed files with 120 additions and 66 deletions

View File

@ -1,4 +1,7 @@
use bindgen::callbacks::{IntKind, ParseCallbacks};
use bindgen::{
callbacks::{IntKind, ParseCallbacks},
Formatter,
};
use std::{env, path::PathBuf};
#[derive(Debug)]
@ -66,7 +69,7 @@ fn main() {
.prepend_enum_name(false)
.generate_comments(false)
.disable_header_comment()
.rustfmt_bindings(true)
.formatter(Formatter::Rustfmt)
.generate()
.expect("Unable to generate bindings");