From e659913373de72e00c9ac141a7ecb094b84a4578 Mon Sep 17 00:00:00 2001 From: zaidoon Date: Wed, 20 Mar 2024 01:03:20 -0400 Subject: [PATCH] Revert "Add portable feature for RocksDB build" This reverts commit 9dc5c327242832e5fc31f2aae1a4916f66c1ab68. --- Cargo.toml | 1 - librocksdb-sys/Cargo.toml | 1 - librocksdb-sys/build.rs | 4 ---- 3 files changed, 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8a3845e..044f216 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,6 @@ mt_static = ["rust-librocksdb-sys/mt_static"] multi-threaded-cf = [] serde1 = ["serde"] malloc-usable-size = ["rust-librocksdb-sys/malloc-usable-size"] -portable = ["rust-librocksdb-sys/portable"] [dependencies] libc = "0.2" diff --git a/librocksdb-sys/Cargo.toml b/librocksdb-sys/Cargo.toml index 8753933..702e26f 100644 --- a/librocksdb-sys/Cargo.toml +++ b/librocksdb-sys/Cargo.toml @@ -40,7 +40,6 @@ zlib = ["libz-sys"] bzip2 = ["bzip2-sys"] rtti = [] malloc-usable-size = [] -portable = [] [dependencies] libc = "0.2" diff --git a/librocksdb-sys/build.rs b/librocksdb-sys/build.rs index 87a7746..82fa529 100644 --- a/librocksdb-sys/build.rs +++ b/librocksdb-sys/build.rs @@ -100,10 +100,6 @@ fn build_rocksdb() { config.define("ROCKSDB_MALLOC_USABLE_SIZE", Some("1")); } - if cfg!(feature = "portable") { - config.define("PORTABLE", Some("1")); - } - config.include("."); config.define("NDEBUG", Some("1"));