Skip to content

Commit 1e20724

Browse files
committed
Add --component rust-std
1 parent 183643c commit 1e20724

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: taiki-e/install-action@v2
1515
with:
1616
tool: cargo-hack,cargo-minimal-versions
17-
- run: rustup toolchain install ${{ matrix.tc }}
17+
- run: rustup toolchain install ${{ matrix.tc }} --component rust-std
1818
- run: cargo +${{ matrix.tc }} test --all --all-features
1919
test:
2020
runs-on: ${{ matrix.os }}
@@ -27,7 +27,7 @@ jobs:
2727
- uses: taiki-e/install-action@v2
2828
with:
2929
tool: cargo-hack,cargo-minimal-versions
30-
- run: rustup toolchain install ${{ matrix.tc }}
30+
- run: rustup toolchain install ${{ matrix.tc }} --component rust-std
3131
- run: cargo +${{ matrix.tc }} minimal-versions test --all --all-features
3232
cross-compile:
3333
runs-on: ${{ matrix.os }}
@@ -48,7 +48,7 @@ jobs:
4848
- uses: taiki-e/install-action@v2
4949
with:
5050
tool: cargo-hack,cargo-minimal-versions
51-
- run: rustup toolchain install ${{ matrix.tc }}
51+
- run: rustup toolchain install ${{ matrix.tc }} --component rust-std
5252
- run: rustup target add ${{ matrix.cc }}
5353
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}
5454
cross-compile-ios:
@@ -63,6 +63,6 @@ jobs:
6363
- uses: taiki-e/install-action@v2
6464
with:
6565
tool: cargo-hack,cargo-minimal-versions
66-
- run: rustup toolchain install ${{ matrix.tc }}
66+
- run: rustup toolchain install ${{ matrix.tc }} --component rust-std
6767
- run: rustup target add ${{ matrix.cc }}
6868
- run: cargo +${{ matrix.tc }} minimal-versions build --all --all-features --target=${{ matrix.cc }}

0 commit comments

Comments
 (0)