From 7a15a12d84af6952588cf4e1d1071e1b97968dd7 Mon Sep 17 00:00:00 2001 From: Huakun Shen Date: Thu, 3 Apr 2025 16:26:10 -0400 Subject: [PATCH] Adds C11 standard flag for builds Try to fix windows build beta CI Adds the C11 standard flag to the build environment. This ensures that the code is compiled using the C11 standard, potentially improving compatibility and avoiding compiler-specific behavior. --- .github/workflows/beta-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/beta-build.yml b/.github/workflows/beta-build.yml index c6cd76f..6762a0e 100644 --- a/.github/workflows/beta-build.yml +++ b/.github/workflows/beta-build.yml @@ -214,6 +214,7 @@ jobs: env: CI: false NODE_OPTIONS: --max-old-space-size=4096 + CFLAGS: -std:c11 run: pnpm tauri build ${{ env.BUILD_MODE}} ${{ matrix.os == 'windows-latest' && '-b nsis' || '' }} - name: Rename macos-aarch64