Skip to content

Commit

Permalink
Set C++20 in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFella committed Aug 31, 2024
1 parent 3bbfbb0 commit 7f7ad94
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ use cxx_build::CFG;

fn main() {
CFG.include_prefix = "vodozemac";
cxx_build::bridge("src/lib.rs").compile("vodozemac");
cxx_build::bridge("src/lib.rs")
.std("c++20")
.compile("vodozemac");
}

0 comments on commit 7f7ad94

Please sign in to comment.