diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-09-25 10:54:58 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-09-25 10:54:58 +0300 |
| commit | 13d512f2d57a4ad1b97cb0f543b3d85c4cbd1962 (patch) | |
| tree | 55c911d2d78d931ca075823ecb457bfa5117daf8 | |
| parent | 61792afab930c9726e11bf838999bfa1e5f6caad (diff) | |
| download | rust-13d512f2d57a4ad1b97cb0f543b3d85c4cbd1962.tar.gz rust-13d512f2d57a4ad1b97cb0f543b3d85c4cbd1962.zip | |
Install cargo for proc-macro-srv tests
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/ci.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/ci.yaml b/src/tools/rust-analyzer/.github/workflows/ci.yaml index e87ece5b652..0eb57a605f8 100644 --- a/src/tools/rust-analyzer/.github/workflows/ci.yaml +++ b/src/tools/rust-analyzer/.github/workflows/ci.yaml @@ -56,8 +56,8 @@ jobs: # Install a pinned rustc commit to avoid surprises - name: Install Rust toolchain run: | - RUSTC_VERSION=`cat rust-version` - rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt + RUSTC_VERSION=$(cat rust-version) + rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt rustup default ${RUSTC_VERSION} # Emulate a nightly toolchain, because the toolchain installed above does not have "nightly" |
