Merge pull request #1316 from gwenn/bindgen

Bump bindgen version
This commit is contained in:
gwenn 2023-04-14 21:24:35 +02:00 committed by GitHub
commit ef4ae94799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -44,7 +44,7 @@ winsqlite3 = []
openssl-sys = { version = "0.9", optional = true } openssl-sys = { version = "0.9", optional = true }
[build-dependencies] [build-dependencies]
bindgen = { version = "0.64", optional = true, default-features = false, features = ["runtime"] } bindgen = { version = "0.65", optional = true, default-features = false, features = ["runtime"] }
pkg-config = { version = "0.3.19", optional = true } pkg-config = { version = "0.3.19", optional = true }
cc = { version = "1.0", optional = true } cc = { version = "1.0", optional = true }
vcpkg = { version = "0.2", optional = true } vcpkg = { version = "0.2", optional = true }

View File

@ -550,8 +550,7 @@ mod bindings {
>, >,
) -> ::std::os::raw::c_int; ) -> ::std::os::raw::c_int;
}"#, }"#,
) );
.rustfmt_bindings(true);
if cfg!(any(feature = "sqlcipher", feature = "bundled-sqlcipher")) { if cfg!(any(feature = "sqlcipher", feature = "bundled-sqlcipher")) {
bindings = bindings.clang_arg("-DSQLITE_HAS_CODEC"); bindings = bindings.clang_arg("-DSQLITE_HAS_CODEC");