Skip to content

Commit 5de3d0b

Browse files
committed
chore: fix build
1 parent b1c65c5 commit 5de3d0b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ fn main() {
55
let src = PathBuf::from("src");
66
let mut bridge = cxx_build::bridge(src.join("bridge.rs"));
77

8-
assert!(bridge.is_flag_supported("-std=c++11").expect("supported"));
98
bridge
109
.files(&[
1110
datasketches.join("cpc.cpp"),
@@ -14,7 +13,7 @@ fn main() {
1413
datasketches.join("hh.cpp"),
1514
])
1615
.include(datasketches.join("common").join("include"))
17-
.flag_if_supported("-std=c++11")
16+
.flag("-std=c++11")
1817
.cpp_link_stdlib(None)
1918
.static_flag(true)
2019
.compile("libdatasketches.a");

0 commit comments

Comments
 (0)