Skip to content

Commit

Permalink
Revert "Add portable feature for RocksDB build"
Browse files Browse the repository at this point in the history
This reverts commit 9dc5c32.
  • Loading branch information
zaidoon1 committed Mar 20, 2024
1 parent 20dec8a commit e659913
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion librocksdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ zlib = ["libz-sys"]
bzip2 = ["bzip2-sys"]
rtti = []
malloc-usable-size = []
portable = []

[dependencies]
libc = "0.2"
Expand Down
4 changes: 0 additions & 4 deletions librocksdb-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand Down

0 comments on commit e659913

Please sign in to comment.