attic: Build binding with C++20

We follow `-std=c++2a` in upstream Makefile.
This commit is contained in:
Zhaofeng Li 2023-06-12 19:44:38 -06:00
parent 564b4be0f9
commit 4fedffe6a1

View file

@ -20,7 +20,7 @@ fn build_bridge() {
cxx_build::bridge("src/nix_store/bindings/mod.rs")
.file("src/nix_store/bindings/nix.cpp")
.flag("-std=c++17")
.flag("-std=c++2a")
.flag("-O2")
.flag("-include")
.flag("nix/config.h")