rust-lang / rust-lang/rustc-perf

Check the used version of `cargo`

Open
#1,903 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
733
Forks
189
Avg merge
10h 52m
Merged PRs (30d)
43

Description

It looks like some commands, like profile_local, use nightly cargo by default, instead of using the cargo of the profiled toolchain. We should change that.

Furthermore, when using rustup-toolchain-install-master, we don't download the cargo of the specified toolchain. We should do that, to avoid using a local cargo version unexpectedly.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the profile_local and rustup-toolchain-install-master commands mentioned in the issue, and inspect how each selects or downloads cargo. Verify the behavior for a specified profiled toolchain and confirm that its matching cargo is downloaded and used instead of a local or nightly version.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.