fixes windows build

master
Jeffrey Quesnelle 7 years ago
parent 4d48b70bc2
commit 6bf579471c
  1. 11
      librocksdb-sys/build.rs
  2. 2
      librocksdb-sys/rocksdb

@ -94,8 +94,8 @@ fn build_rocksdb() {
.cloned()
.filter(|file| match *file {
"port/port_posix.cc" |
"util/env_posix.cc" |
"util/io_posix.cc" => false,
"env/env_posix.cc" |
"env/io_posix.cc" => false,
_ => true,
})
.collect::<Vec<&'static str>>();
@ -112,12 +112,11 @@ fn build_rocksdb() {
config.flag("-EHsc");
} else {
config.flag("-std=c++11");
// this was breaking the build on travis due to
// > 4mb of warnings emitted.
config.flag("-Wno-unused-parameter");
}
// this was breaking the build on travis due to
// > 4mb of warnings emitted.
config.flag("-Wno-unused-parameter");
for file in lib_sources {
let file = "rocksdb/".to_string() + file;
config.file(&file);

@ -1 +1 @@
Subproject commit bbd65abcfc156a4777d10250601761691e2fcef3
Subproject commit acf935e40f9d6f4c3d13c7d310def7064c1f1c95
Loading…
Cancel
Save