Skip to content

Commit

Permalink
c++17 -> c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
Radvendii committed Aug 22, 2023
1 parent 448167e commit 3f821f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {

cxx_build::bridge("src/nix_ffi/mod.rs")
.file("src/nix_ffi/cpp/nix.cc")
.flag_if_supported("-std=c++17")
.flag_if_supported("-std=c++20")
.flag_if_supported("-U_FORTIFY_SOURCE") // Otherwise builds with `-O0` raise a lot of warnings
.compile("nickel-lang");

Expand Down

0 comments on commit 3f821f4

Please sign in to comment.