fix: 'bz_internal_error': symbol multiply defined! (#628)

master
南浦月 3 years ago committed by GitHub
parent 803cfaa5ba
commit 35674e714d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      librocksdb-sys/src/lib.rs

@ -26,9 +26,3 @@ extern crate libz_sys;
extern crate zstd_sys; extern crate zstd_sys;
include!(concat!(env!("OUT_DIR"), "/bindings.rs")); 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);
}

Loading…
Cancel
Save