-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize
--path
to install bin outside current workspace
For `Workspace::find_root`, `cargo_util::path::PathAncestors` won't do path normalization while walking back the ancestors. The responsibility lies in the caller. Thus, `cargo install` should normalize its `--path` argument before passing in `SourceId::for_path` and `Workspace::new`. `Config::reload_rooted_at` is not affected because cargo always starts searching and merging configs from where it is invoked.
- Loading branch information
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters