-
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
Tracking Issue for --lockfile-path
#14421
Comments
@rustbot claim |
doc: update lockfile-path tracking issue Update tracking issue of lockfile path feature to #14421 (in documentation and code) r? `@weihanglo`
doc: add lockfile-path unstable doc section Adds lockfile-path into the unstable doc section as part of tracking issue #14421 tasks
As far as shell completions go, I don't think we need to do anything in the scope of this task. In fact, it's alreadyready working on the latest nightly (as part of #14520) |
@Ifropc thats the new, unstable completion system. The task is referring to our handwritten, stable completions |
That said, you could add a custom completer to the new completion system that restricts completions to files named |
feat: lockfile path implies --locked on cargo install Follow-up of #14421 Resolving one of the items > cargo install should make --lockfile-path imply --locked Simply mirrored behavior as if `--locked` was provided (on creating the workspace)
Got it, I will add the support into the stable system + will do the lock filter in the new system. Thought the unstable stuff is automatically grouped into the unstable autocomplete system as well, but guess it's a separate matter. |
Summary
Original issue: #5707
Implementation: #14326
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#lockfile-path
Added a new flag
--lockfile-path
that allows users to specify a path to lockfile other than the default path<workspace_root>/Cargo.lock
.Unresolved Issues
cargo install --lockfile-path
implies--locked
, and requires the alternaive lockfile to exist.Future Extensions
No response
Tasks
cargo install
should make--lockfile-path
imply--locked
feat: lockfile path implies --locked on cargo install #14556About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
The text was updated successfully, but these errors were encountered: