Skip to content

Commit 1849aae

Browse files
committed
Use prebuilt gnullvm target
1 parent 0a74479 commit 1849aae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cross.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
run: rustup target add ${{ matrix.target }}
4141
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
@@ -83,10 +83,10 @@ jobs:
8383
}
8484
if: contains(matrix.target, 'gnullvm') == false
8585

86-
- name: Test with build-std
86+
- name: Test gnullvm
8787
shell: pwsh
8888
run: |
89-
cargo test --no-run --target ${{ matrix.target }} -Z build-std -p test_win32
89+
cargo test --no-run --target ${{ matrix.target }} -p test_win32
9090
if (-Not (Resolve-Path "target/*/debug/deps/test_win32-*.exe" | Test-Path)) {
9191
throw "Failed to find test_win32 executable."
9292
}

0 commit comments

Comments
 (0)