Update bindgen to 0.37

master
Martin Ek 6 years ago
parent 701669d076
commit f1c3b48b3f
  1. 2
      librocksdb-sys/Cargo.toml
  2. 2
      librocksdb-sys/build.rs

@ -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"

@ -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");

Loading…
Cancel
Save