From 9368269bb7dfafa76723eec698571c72c3ef829d Mon Sep 17 00:00:00 2001 From: tobiasruck Date: Thu, 10 Oct 2019 15:32:54 +0200 Subject: [PATCH] Disable trait derivation for librocksdb-sys (fixes #335) --- librocksdb-sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 516ac4d..e060bea 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -33,6 +33,7 @@ fn fail_on_empty_directory(name: &str) { fn bindgen_rocksdb() { let bindings = bindgen::Builder::default() .header("rocksdb/include/rocksdb/c.h") + .derive_debug(false) .blacklist_type("max_align_t") // https://github.com/rust-lang-nursery/rust-bindgen/issues/550 .ctypes_prefix("libc") .generate()