fix(ci): add rustup target fallback for pinned nightly cross-compile

This commit is contained in:
can1357
2026-03-28 15:07:18 +01:00
parent eb7914e03a
commit 538e4e07e8
+3
View File
@@ -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 }}