Skip to content

Commit

Permalink
fix(occara): pass correct c++ std version for the include_cpp macro
Browse files Browse the repository at this point in the history
While the code was compiled with the correct c++ version, the
'autocxx::include_cpp' macro still ran with c++14.
This fixes building on windows.
  • Loading branch information
maximmaxim345 committed Jun 11, 2024
1 parent 8c79dcd commit 0e30c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/occara/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn main() -> miette::Result<()> {
"src/ffi.rs",
[&std::path::PathBuf::from("include"), &include_dir],
)
.extra_clang_args(&["-std=c++20"])
.build()?;

autocxx_build
Expand Down

0 comments on commit 0e30c7f

Please sign in to comment.