rust-lang / rust-lang/cargo

`cargo --version --verbose` should give more information (and perhaps have an alias like "bugreport")

Open
#6,161 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

C-enhancement Command-version S-needs-design
Dominant language
Rust
Stars
15.5k
Forks
3k
Avg merge
23h 30m
Merged PRs (30d)
51

Description

Things to include:

  • rustc version
  • OS and OS version (host system). (This includes detecting Linux distribution if possible; some bits of /etc/os-release would suffice for a start.)
  • Default target
  • git hash of the crates.io index. (This would work well with future cargo options to pretend the index was at that point, to help reproduce issues.)

Contributor guide

Open the contributing guide

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 at the cargo --version --verbose command entry point and run the existing command to document its current output. Determine how the requested rustc version, crates.io index git hash, OS details, and default target should be represented, and whether a bugreport alias is in scope; done means the agreed information is reported reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.