Skip to content

Commit 8aeefd5

Browse files
committedNov 14, 2023
Change cxx bridge to build with the flag for C++17 for files acompanying Rust API.
1 parent a8de0b7 commit 8aeefd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/libcprover-rust/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ fn main() {
7272
.include(cpp_api_include_path)
7373
.include(get_current_working_dir().unwrap())
7474
.file("src/c_api.cc")
75-
.flag_if_supported("-std=c++11")
75+
.flag_if_supported("-std=c++17")
7676
.compile("cprover-rust-api");
7777

7878
println!("cargo:rerun-if-changed=src/c_api.cc");

0 commit comments

Comments
 (0)
Please sign in to comment.