Skip to content

Commit 312cf43

Browse files
committed
Install rustc-dev
1 parent f52f2f9 commit 312cf43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
CC: deny_c
4949
RUST_CHANNEL: "${{ needs.changes.outputs.proc_macros == 'true' && 'nightly' || 'stable' }}"
5050
USE_SYSROOT_ABI: "${{ needs.changes.outputs.proc_macros == 'true' && '--features sysroot-abi' || '' }}"
51+
RUSTUP_RUSTC_DEV: "${{ needs.changes.outputs.proc_macros == 'true' && 'rustc-dev' || '' }}"
5152

5253
strategy:
5354
fail-fast: false
@@ -63,7 +64,7 @@ jobs:
6364
- name: Install Rust toolchain
6465
run: |
6566
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
66-
rustup component add --toolchain ${{ env.RUST_CHANNEL }} rustfmt rust-src
67+
rustup component add --toolchain ${{ env.RUST_CHANNEL }} rustfmt rust-src ${{ env.RUSTUP_RUSTC_DEV }}
6768
rustup default ${{ env.RUST_CHANNEL }}
6869
6970
- name: Cache Dependencies

0 commit comments

Comments
 (0)