File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- build --repo_env=CC=clang --repo_env=CXX=clang++ --cxxopt="-std=c++17 "
1+ build --repo_env=CC=clang --repo_env=CXX=clang++ --cxxopt="-std=c++20 "
22
33try-import %workspace%/local.bazelrc
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ IndentWidth: 2
44SortIncludes : false
55AllowShortIfStatementsOnASingleLine : WithoutElse
66AlwaysBreakBeforeMultilineStrings : false
7- Standard : c++17
7+ Standard : c++20
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ genrule(
2424 # see if https://cplusplus.github.io/LWG/issue3657 is fixed with the current compiler or not
2525 # if fixed, PathHash.h.workaround will not compile
2626 cmd = "\n " .join ([
27- "if clang -c -x c++ -std=c++17 -Wno-pragma-once-outside-header \\ " ,
27+ "if clang -c -x c++ -std=c++20 -Wno-pragma-once-outside-header \\ " ,
2828 " $(rootpath PathHash.h.workaround) -o /dev/null &> /dev/null; then" ,
2929 " cp $(rootpath PathHash.h.workaround) $@" ,
3030 "else" ,
You can’t perform that action at this time.
0 commit comments