We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c65c5 commit d8f979dCopy full SHA for d8f979d
build.rs
@@ -14,8 +14,12 @@ fn main() {
14
datasketches.join("hh.cpp"),
15
])
16
.include(datasketches.join("common").join("include"))
17
- .flag_if_supported("-std=c++11")
18
.cpp_link_stdlib(None)
19
- .static_flag(true)
20
- .compile("libdatasketches.a");
+ .static_flag(true);
+
+ // MSVC doesn't plan to implement C++11 switch, because they use c++14 by default
21
+ #[cfg(not(target_env = "msvc"))]
22
+ bridge.flag_if_supported("-std=c++11");
23
24
+ bridge.compile("libdatasketches.a");
25
}
0 commit comments