Skip to content

Commit d23ff38

Browse files
authored
Update rust.yml
fix random uwp build failures
1 parent 6be6a77 commit d23ff38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ jobs:
9090
run: |
9191
rustup install ${{ env.TOOLCHAIN }}
9292
rustup default ${{ env.TOOLCHAIN }}
93-
rustup component add rust-src
93+
rustup component add rust-src --toolchain ${{ env.TOOLCHAIN }}-x86_64-pc-windows-msvc
9494
rustc --version --verbose
95-
cargo build --verbose ${{ matrix.features }} -Z build-std=std,panic_abort --target ${{ matrix.target }}
95+
cargo +${{ env.TOOLCHAIN }} build --verbose ${{ matrix.features }} -Z build-std=std,panic_abort --target ${{ matrix.target }}
9696
- name: Build Windows
9797
if: contains(matrix.target, 'uwp') != true
9898
shell: cmd

0 commit comments

Comments
 (0)