Unverified Commit 51f2e7ba authored by yiwu-arbug's avatar yiwu-arbug Committed by GitHub

expose static_libcpp feature (#464)

#463 forget to expose `static_libcpp` feature to top level Cargo.toml. Fixing it.
Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
parent bac3ef61
...@@ -15,9 +15,6 @@ matrix: ...@@ -15,9 +15,6 @@ matrix:
- os: osx - os: osx
osx_image: xcode11.3 osx_image: xcode11.3
rust: stable rust: stable
- os: linux
arch: arm64
rust: stable
- os: linux - os: linux
rust: nightly rust: nightly
env: FEATURES="encryption,jemalloc,portable,sse" env: FEATURES="encryption,jemalloc,portable,sse"
......
...@@ -20,6 +20,7 @@ encryption = ["librocksdb_sys/encryption"] ...@@ -20,6 +20,7 @@ encryption = ["librocksdb_sys/encryption"]
jemalloc = ["librocksdb_sys/jemalloc"] jemalloc = ["librocksdb_sys/jemalloc"]
portable = ["librocksdb_sys/portable"] portable = ["librocksdb_sys/portable"]
sse = ["librocksdb_sys/sse"] sse = ["librocksdb_sys/sse"]
static_libcpp = ["librocksdb_sys/static_libcpp"]
valgrind = [] valgrind = []
[dependencies] [dependencies]
......
...@@ -18,13 +18,13 @@ tempfile = "3.1" ...@@ -18,13 +18,13 @@ tempfile = "3.1"
[features] [features]
default = [] default = []
static_libcpp = []
encryption = ["openssl-sys"] encryption = ["openssl-sys"]
jemalloc = ["jemalloc-sys"] jemalloc = ["jemalloc-sys"]
# portable doesn't require static link, though it's meaningless # portable doesn't require static link, though it's meaningless
# when not using with static-link right now in this crate. # when not using with static-link right now in this crate.
portable = ["libtitan_sys/portable"] portable = ["libtitan_sys/portable"]
sse = ["libtitan_sys/sse"] sse = ["libtitan_sys/sse"]
static_libcpp = []
[build-dependencies] [build-dependencies]
cc = "1.0.3" cc = "1.0.3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment