-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Notify Users of cargo +nightly install
when using cargo install +nightly
#10362
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Should be fairly easy to tackle for only If we got #11702 or clap-rs/clap#4706 landed, I think it's sufficient that we target only a subset of most common ones like |
The problem is
(some others accept positional arguments but those are just meant to forward to an underlying command) |
Agree with that. Here are some pointers where
I think Cargo can send an ad-hoc error message when detecting any crate starting with
(you could find a better message than mine) |
Hi, I would like to take on this issue. But, just to confirm, from what I understand in order to resolve this issue we only need to make cargo emits the above error message whenever the add and install command is run with a crate name that has |
That's exactly my plan so far! You may want to tweak the message a bit. Mine is not as good as it looks. |
Got it, I'll see what I can come up with. @rustbot claim |
I think I need more clarification. If the error is emitted any time the command is given a crate name that starts with
of the error should only be printed if the rest of crate name after the |
Toolchain name can be anything, such like My best guess is, from the array of crates name strings ( |
Problem
When running
cargo install +nightly ...
there is no indication that it does not actually use the nightly toolchain, until the compilation runs into errors because e.g. features need nightly.Proposed Solution
Either:
Let the user know that
cargo install +nightly ...
doesn't actually use nightly and instead they should usecargo +nightly install ...
.Or:
just use nightly...
Notes
No response
The text was updated successfully, but these errors were encountered: