@@ -114,7 +114,7 @@ jobs:
114114 - tuple : i686-pc-windows-msvc
115115 os : windows-2025
116116 - tuple : aarch64-pc-windows-msvc
117- os : windows-2025
117+ os : windows-11-arm
118118 - tuple : x86_64-pc-windows-gnu
119119 os : windows-2025
120120 # - tuple: i686-pc-windows-gnu
@@ -192,10 +192,6 @@ jobs:
192192 tuple : aarch64-apple-ios-macabi
193193 os : macos-15
194194 norun : true # https://github.com/rust-lang/stdarch/issues/1206
195- - target :
196- tuple : aarch64-pc-windows-msvc
197- os : windows-2025
198- norun : true
199195
200196 steps :
201197 - uses : actions/checkout@v4
@@ -204,15 +200,24 @@ jobs:
204200 run : |
205201 rustup update nightly --no-self-update
206202 rustup default nightly
203+ shell : bash
204+ if : matrix.target.os != 'windows-11-arm'
205+ - name : Install Rust for `windows-11-arm` runners
206+ run : |
207+ curl https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
208+ echo "$HOME/.cargo/bin" >> $GITHUB_PATH
209+ shell : bash
210+ if : matrix.target.os == 'windows-11-arm'
211+
207212 - run : rustup target add ${{ matrix.target.tuple }}
213+ shell : bash
208214 if : matrix.build_std == ''
209215 - run : |
210216 rustup component add rust-src
211217 echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV
218+ shell: bash
212219 if: matrix.build_std != ''
213220
214- - run : cargo generate-lockfile
215-
216221 # Configure some env vars based on matrix configuration
217222 - run : echo "PROFILE=--profile=${{matrix.profile}}" >> $GITHUB_ENV
218223 shell : bash
0 commit comments