From 3ea0e13401e4c898d8880ee535ca28ae99f17924 Mon Sep 17 00:00:00 2001 From: Abhijeet Patil Date: Wed, 17 Jan 2024 21:20:48 +0000 Subject: [PATCH] adding back the clang compiler for postgres headers --- .github/workflows/build_and_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9cae47337c..7e62015234 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -141,7 +141,7 @@ jobs: # Some of our rust modules use FFI and need those to be checked - name: Get postgres headers - run: make postgres-headers -j$(nproc) + run: CC=clang CARGO_BUILD_FLAGS="--features=testing" make postgres-headers -j$(nproc) # cargo hack runs the given cargo subcommand (clippy in this case) for all feature combinations. # This will catch compiler & clippy warnings in all feature combinations.