mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: update bindgen in libmdbx-rs (#2703)
This commit is contained in:
7
crates/storage/libmdbx-rs/mdbx-sys/build.rs
vendored
7
crates/storage/libmdbx-rs/mdbx-sys/build.rs
vendored
@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user