Compiles RocksDB using C++17

It's going to be the minimal version for RocksDB 7
pull/192/head
Tpt 3 years ago
parent 9085a424e8
commit c469d8eec7
  1. 4
      oxrocksdb-sys/build.rs

@ -141,9 +141,9 @@ fn build_rocksdb() {
config.define("ROCKSDB_SUPPORT_THREAD_LOCAL", None);
if target.contains("msvc") {
config.flag("-EHsc");
config.flag("-EHsc").flag("-std:c++17");
} else {
config.flag("-std=c++11");
config.flag("-std=c++17");
}
for file in lib_sources {

Loading…
Cancel
Save