Disable trait derivation for librocksdb-sys (fixes #335)

master
tobiasruck 5 years ago
parent 2a455de066
commit 9368269bb7
  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