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
2 changed files with 5 additions and 1 deletions
3
deps/rust-rocksdb/Cargo.toml
vendored
3
deps/rust-rocksdb/Cargo.toml
vendored
|
@ -30,3 +30,6 @@ crate-type = [
|
|||
"rlib",
|
||||
# "dylib"
|
||||
]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
3
deps/rust-rocksdb/lib.rs
vendored
3
deps/rust-rocksdb/lib.rs
vendored
|
@ -1,6 +1,7 @@
|
|||
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" {
|
||||
pub fn rocksdb_list_column_families();
|
||||
pub fn rocksdb_logger_create_stderr_logger();
|
||||
|
|
Loading…
Add table
Reference in a new issue