Fix Rust version

This commit is contained in:
Gregory Schier
2025-11-28 09:04:59 -08:00
parent e8e1d9246e
commit d7a68c2d53

View File

@@ -50,8 +50,9 @@ jobs:
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.os == 'macos' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
targets: |
${{ matrix.os == 'macos' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
${{ matrix.os == 'windows' && matrix.yaak_arch == 'arm64' && 'aarch64-pc-windows-msvc' || '' }}
- uses: Swatinem/rust-cache@v2
with: