-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 install documentation should no longer mention default location #13200
Comments
Thanks for the report! I believe there may be a misunderstanding of what it means by "default location". That is the default location where the binaries will be installed into. That can be overridden with Would it be clearer if the text instead said this?
FWIW, I'm on the fence as to whether or not it is appropriate to even include that text at all. It was added in #6354 due to some confusion, but I wouldn't expect this tiny bit of text be the appropriate way to learn what the command does. |
Instead, I think we might want to revert #6354. People wanting to learn more than the one-line explanation from |
cargo install tells me: cargo install —help tells me: cargo help install tells me: Did I miss anything or does the documentation describe behavior cargo does not deliver? |
From
and
Should be fairly clear I guess.
FWIW, I just posted a PR to clarify it a bit #13205. |
Problem
cargo install without --path is no longer supported. cargo --list explains cargo install as "Install a Rust binary. Default location is $HOME/.cargo/bin". Please replace "Default location ... " with "Requires --path".
Steps
cargo --list ; cargo install
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.74.1 (ecb9851 2023-10-18)
The text was updated successfully, but these errors were encountered: