From f850dcbf64b8ee881814f4da70a27408e125c5b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= Date: Tue, 23 Apr 2024 14:42:01 +0200 Subject: [PATCH] Use prebuilt gnullvm target (#3007) --- .github/workflows/cross.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index ddc73f92d5..3751348368 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -40,10 +40,10 @@ jobs: run: rustup target add ${{ matrix.target }} if: contains(matrix.target, 'gnullvm') == false - - name: Add nightly toolchain with rust-src + - name: Add nightly toolchain with gnullvm target run: | rustup default ${{ matrix.version }} - rustup component add rust-src + rustup target add ${{ matrix.target }} if: startsWith(matrix.image, 'ubuntu-') && contains(matrix.target, 'gnullvm') && matrix.version == 'nightly' - name: Install gcc-mingw-w64-x86-64 @@ -83,10 +83,10 @@ jobs: } if: contains(matrix.target, 'gnullvm') == false - - name: Test with build-std + - name: Test gnullvm shell: pwsh run: | - cargo test --no-run --target ${{ matrix.target }} -Z build-std -p test_win32 + cargo test --no-run --target ${{ matrix.target }} -p test_win32 if (-Not (Resolve-Path "target/*/debug/deps/test_win32-*.exe" | Test-Path)) { throw "Failed to find test_win32 executable." }