Skip to content

Commit 13d512f

Browse files
committed
Install cargo for proc-macro-srv tests
1 parent 61792af commit 13d512f

File tree

1 file changed

+2
-2
lines changed
  • src/tools/rust-analyzer/.github/workflows

1 file changed

+2
-2
lines changed

src/tools/rust-analyzer/.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
# Install a pinned rustc commit to avoid surprises
5757
- name: Install Rust toolchain
5858
run: |
59-
RUSTC_VERSION=`cat rust-version`
60-
rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt
59+
RUSTC_VERSION=$(cat rust-version)
60+
rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt
6161
rustup default ${RUSTC_VERSION}
6262
6363
# Emulate a nightly toolchain, because the toolchain installed above does not have "nightly"

0 commit comments

Comments
 (0)