Disable jemalloc for rocksdb 0.22 to fix windows builds

This commit is contained in:
Luke Parker 2024-03-09 04:26:24 -05:00
parent 6374d9987e
commit ae0ecf9efe
No known key found for this signature in database
2 changed files with 1 additions and 12 deletions

11
Cargo.lock generated
View file

@ -3948,7 +3948,6 @@ dependencies = [
"libc", "libc",
"libz-sys", "libz-sys",
"lz4-sys", "lz4-sys",
"tikv-jemalloc-sys",
"zstd-sys", "zstd-sys",
] ]
@ -9164,16 +9163,6 @@ dependencies = [
"num_cpus", "num_cpus",
] ]
[[package]]
name = "tikv-jemalloc-sys"
version = "0.5.4+5.3.0-patched"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1"
dependencies = [
"cc",
"libc",
]
[[package]] [[package]]
name = "time" name = "time"
version = "0.3.31" version = "0.3.31"

View file

@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]
rocksdb = { version = "0.22", default-features = false } rocksdb = { version = "0.22", default-features = false }
[features] [features]
jemalloc = ["rocksdb/jemalloc"] jemalloc = []
snappy = ["rocksdb/snappy"] snappy = ["rocksdb/snappy"]
lz4 = ["rocksdb/lz4"] lz4 = ["rocksdb/lz4"]
zstd = ["rocksdb/zstd"] zstd = ["rocksdb/zstd"]