Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo --list shows blank explanation for the miri command on windows #14057

Open
yg-i opened this issue Jun 13, 2024 · 3 comments
Open

cargo --list shows blank explanation for the miri command on windows #14057

yg-i opened this issue Jun 13, 2024 · 3 comments
Labels
A-custom-subcommands Area: custom 3rd party subcommand plugins C-bug Category: bug Command-list S-triage Status: This issue is waiting on initial triage.

Comments

@yg-i
Copy link

yg-i commented Jun 13, 2024

Problem

On my machine (win10, x86-64) this is the (truncated) output of cargo --list

Installed Commands:
...
    logout               Remove an API token from the registry locally
    metadata             Output the resolved dependencies of a package, the concrete used versions including overrides, in machine-readable format
    miri
    new                  Create a new cargo package at <path>
    owner                Manage the owners of a crate on the registry
...

image

The table row for 'miri' contains no brief explanation like the other lines. I'm assuming this is not intended.

Perhaps this is related to the fact that cargo-miri is not available for the windows-msvc toolchain.

Steps

  1. In a Windows environment, run cargo --list
  2. Verify that the row for 'miri' contains no corresponding explanations like the other rows.

Possible Solution(s)

No response

Notes

No response

Version

cargo 1.78.0 (54d8815d0 2024-03-26)
release: 1.78.0
commit-hash: 54d8815d04fa3816edc207bbc4dd36bf18014dbc
commit-date: 2024-03-26
host: x86_64-pc-windows-msvc
libgit2: 1.7.2 (sys:0.18.2 vendored)
libcurl: 8.6.0-DEV (sys:0.4.72+curl-8.6.0 vendored ssl:Schannel)
os: Windows 10.0.19045 (Windows 10 Home) [64-bit]
@yg-i yg-i added C-bug Category: bug S-triage Status: This issue is waiting on initial triage. labels Jun 13, 2024
@weihanglo
Copy link
Member

Thanks for the report. This is a known issue tracked in #10662. I'll close this in favor of that. Let us know if this should remain open for any reason.

@weihanglo weihanglo closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
@weihanglo weihanglo added Command-list A-custom-subcommands Area: custom 3rd party subcommand plugins labels Jun 13, 2024
@epage
Copy link
Contributor

epage commented Jun 13, 2024

iirc cargo miri is distributed through rustup. So we should decide whether to bake-in the description like cargo fmt and cargo clippy or put this as a dividing line and say we need a more general solution. Re-opening for now for us to weigh that.

@epage epage reopened this Jun 13, 2024
@weihanglo
Copy link
Member

I've considered that and decided to close because miri is not shipped with the stable toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-custom-subcommands Area: custom 3rd party subcommand plugins C-bug Category: bug Command-list S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

3 participants