From 538e4e07e86faad76d4f75ca649a6302a9d1c085 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sat, 28 Mar 2026 15:07:18 +0100 Subject: [PATCH] fix(ci): add rustup target fallback for pinned nightly cross-compile --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cacf8f0d4..1b7dcf95f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,6 +57,9 @@ jobs: toolchain: nightly-2026-03-27 components: ${{ matrix.rust_checks && 'clippy, rustfmt' || '' }} targets: ${{ matrix.target }} + - name: Ensure cross-compilation target is installed + if: matrix.target + run: rustup target add ${{ matrix.target }} - uses: Swatinem/rust-cache@v2 with: key: ${{ matrix.target }}