Skip to content

Commit

Permalink
Use the correct define for JEMALLOC support
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Feb 24, 2024
1 parent 9a0a3b4 commit 4e693bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rust-rocksdb"
description = "Rust wrapper for Facebook's RocksDB embeddable database"
version = "0.22.4"
version = "0.22.5"
edition = "2021"
rust-version = "1.75.0"
authors = [
Expand Down Expand Up @@ -34,7 +34,7 @@ serde1 = ["serde"]

[dependencies]
libc = "0.2"
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.17.0" }
rust-librocksdb-sys = { path = "librocksdb-sys", version = "0.17.1" }
serde = { version = "1", features = ["derive"], optional = true }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion librocksdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-librocksdb-sys"
version = "0.17.0+8.10.2"
version = "0.17.1+8.10.2"
edition = "2021"
rust-version = "1.75.0"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion librocksdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ fn build_rocksdb() {
config.define("ROCKSDB_SUPPORT_THREAD_LOCAL", None);

if cfg!(feature = "jemalloc") {
config.define("WITH_JEMALLOC", "ON");
config.define("ROCKSDB_JEMALLOC", Some("1"));
}

#[cfg(feature = "io-uring")]
Expand Down

0 comments on commit 4e693bc

Please sign in to comment.