Skip to content

Commit 74ec206

Browse files
authored
Test
1 parent 5cf89ab commit 74ec206

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cross.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838

3939
- name: Add toolchain target
4040
run: rustup target add ${{ matrix.target }}
41-
if: contains(matrix.target, 'gnullvm') == false || startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'
41+
if: contains(matrix.target, 'gnullvm') == false
4242

43-
- name: Add nightly toolchain with rust-src
43+
- name: Add nightly toolchain with gnullvm target
4444
run: |
4545
rustup default ${{ matrix.version }}
46-
rustup component add rust-src
46+
rustup target add ${{ matrix.target }}
4747
if: startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly'
4848

4949
- name: Install gcc-mingw-w64-x86-64

0 commit comments

Comments
 (0)