From f1c3b48b3f1ffc0f3b27cfc4d0c62e5894e76fad Mon Sep 17 00:00:00 2001 From: Martin Ek Date: Sat, 14 Jul 2018 19:45:06 +0700 Subject: [PATCH] Update bindgen to 0.37 --- librocksdb-sys/Cargo.toml | 2 +- librocksdb-sys/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/librocksdb-sys/Cargo.toml b/librocksdb-sys/Cargo.toml index d28b889..af83aa6 100644 --- a/librocksdb-sys/Cargo.toml +++ b/librocksdb-sys/Cargo.toml @@ -24,4 +24,4 @@ const-cstr = "0.2" [build-dependencies] cc = { version = "^1.0", features = ["parallel"] } make-cmd = "0.1" -bindgen = "0.29" +bindgen = "0.37" diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 1f19287..7b6ada9 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -32,7 +32,7 @@ fn fail_on_empty_directory(name: &str) { fn bindgen_rocksdb() { let bindings = bindgen::Builder::default() .header("rocksdb/include/rocksdb/c.h") - .hide_type("max_align_t") // https://github.com/rust-lang-nursery/rust-bindgen/issues/550 + .blacklist_type("max_align_t") // https://github.com/rust-lang-nursery/rust-bindgen/issues/550 .ctypes_prefix("libc") .generate() .expect("unable to generate rocksdb bindings");