From 8a21ae537c8628b46d4778576507be122323b6a6 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Wed, 11 Feb 2026 12:48:57 -0800 Subject: [PATCH] CI: Test cross compilation with CC_ --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a697cf64..36f1d2985 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -315,6 +315,8 @@ jobs: shell: bash - name: Set CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER run: echo "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=${{ matrix.target }}-gcc" >> $GITHUB_ENV + - name: Set CC_x86_64_unknown_linux_gnu + run: echo "CC_x86_64_unknown_linux_gnu=${{ matrix.target }}-gcc" >> $GITHUB_ENV - name: Build for ${{ matrix.target }} run: cargo build --target ${{ matrix.target }} --all-targets