feat(config): Stabilize resolver.lockfile-path config#16694
feat(config): Stabilize resolver.lockfile-path config#16694epage wants to merge 1 commit intorust-lang:masterfrom
resolver.lockfile-path config#16694Conversation
|
r? @ehuss rustbot has assigned @ehuss. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@rfcbot fcp merge cargo |
|
Team member @epage has proposed to merge this. The next step is review by the rest of the tagged team members: Concerns: Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
@rfcbot fcp concern install
Should we remove install support or have this inconsistent? |
In which cases would we need to specify the lockfile path and install binaries? This configuration is primarily for using read-only source directories. I couldn't wrap my head around coming up with a use case for it. |
|
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Just remind that we also have an inconsistency of install not respecting |
|
Do we think the support of unsetting the lockfile path a blocker? Currently there is no way to do that. And without that, it is hard for people to unset if a global |
|
I'm not quite clear which inconsistency we're talking about.
Also, is there a more detailed description of this feature? Overall I'd like to see a more detailed stabilization report. For example, it seems to reserve |
What does this PR try to resolve?
Closes #14421
Overall, this seems like a low policy knob for users to tweak in config (ie out fo the way) so this seems relatively safe to stabilize.
Unresolved questions from the tracking issue:
...
This was from when the we had
--lockfile-pathinstead which added its own set of policy questions.By having this be a config that just overrides the default, all other policies should remain the same.
In particular for the
cargo installcase, see #16617How to test and review this PR?