Merge pull request #338 from slpdex/master

Disable trait derivation for librocksdb-sys (fixes #335)
master
Jordan Terrell 5 years ago committed by GitHub
commit c3f17c4ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      librocksdb-sys/build.rs

@ -33,6 +33,7 @@ fn fail_on_empty_directory(name: &str) {
fn bindgen_rocksdb() { fn bindgen_rocksdb() {
let bindings = bindgen::Builder::default() let bindings = bindgen::Builder::default()
.header("rocksdb/include/rocksdb/c.h") .header("rocksdb/include/rocksdb/c.h")
.derive_debug(false)
.blacklist_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") .ctypes_prefix("libc")
.generate() .generate()

Loading…
Cancel
Save