Skip to content

Commit db4e343

Browse files
committed
fix(ci): use C++20 for Z3 build on macOS (aggregate init with parens)
Z3 uses parenthesized aggregate initialization (e.g. key_data(k, v)) which is a C++20 feature (P0960R3). Apple Clang defaults to C++17 where this is not supported. Switch to -std=c++20. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
1 parent c018659 commit db4e343

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/kagenti-release-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
135135
- name: Build openshell-cli
136136
env:
137-
CXXFLAGS: "-std=c++17"
137+
CXXFLAGS: "-std=c++20"
138138
READ_ONLY_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
139139
run: cargo build --release -p openshell-cli --features bundled-z3
140140

0 commit comments

Comments
 (0)