Skip to content

Commit 35674e7

Browse files
authored
fix: 'bz_internal_error': symbol multiply defined! (tikv#628)
1 parent 803cfaa commit 35674e7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

librocksdb-sys/src/lib.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,3 @@ extern crate libz_sys;
2626
extern crate zstd_sys;
2727

2828
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
29-
30-
#[cfg(feature = "bzip2")]
31-
#[no_mangle]
32-
pub fn bz_internal_error(errcode: libc::c_int) {
33-
panic!("bz internal error: {}", errcode);
34-
}

0 commit comments

Comments
 (0)