conditionally static link rust-rocksdb-uwu by hot reload cfg
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
19e7779693
commit
30beb20230
|
@ -30,3 +30,6 @@ crate-type = [
|
||||||
"rlib",
|
"rlib",
|
||||||
# "dylib"
|
# "dylib"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
pub use rust_rocksdb::*;
|
pub use rust_rocksdb::*;
|
||||||
|
|
||||||
#[link(name = "rocksdb", kind = "static")]
|
#[cfg_attr(not(conduit_mods), link(name = "rocksdb"))]
|
||||||
|
#[cfg_attr(conduit_mods, link(name = "rocksdb", kind = "static"))]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn rocksdb_list_column_families();
|
pub fn rocksdb_list_column_families();
|
||||||
pub fn rocksdb_logger_create_stderr_logger();
|
pub fn rocksdb_logger_create_stderr_logger();
|
||||||
|
|
Loading…
Reference in New Issue