forked from nrabulinski/attic
attic: Build binding with C++20
We follow `-std=c++2a` in upstream Makefile.
This commit is contained in:
parent
564b4be0f9
commit
4fedffe6a1
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue