From 35674e714d525b93bd46595fe0d852165982160a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E6=B5=A6=E6=9C=88?= Date: Mon, 2 May 2022 16:05:33 +0800 Subject: [PATCH] fix: 'bz_internal_error': symbol multiply defined! (#628) --- librocksdb-sys/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/librocksdb-sys/src/lib.rs b/librocksdb-sys/src/lib.rs index cd9c3b7..3325412 100644 --- a/librocksdb-sys/src/lib.rs +++ b/librocksdb-sys/src/lib.rs @@ -26,9 +26,3 @@ extern crate libz_sys; extern crate zstd_sys; include!(concat!(env!("OUT_DIR"), "/bindings.rs")); - -#[cfg(feature = "bzip2")] -#[no_mangle] -pub fn bz_internal_error(errcode: libc::c_int) { - panic!("bz internal error: {}", errcode); -}