File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ fn run_rustup_inner() -> Result<utils::ExitCode> {
59
59
60
60
// Before we do anything else, ensure we know where we are and who we
61
61
// are because otherwise we cannot proceed usefully.
62
- process ( ) . current_dir ( ) ?;
62
+ utils :: current_dir ( ) ?;
63
63
utils:: current_exe ( ) ?;
64
64
65
65
// The name of arg0 determines how the program is going to behave
Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ pub(crate) fn make_executable(path: &Path) -> Result<()> {
475
475
inner ( path)
476
476
}
477
477
478
- pub ( crate ) fn current_dir ( ) -> Result < PathBuf > {
478
+ pub fn current_dir ( ) -> Result < PathBuf > {
479
479
process ( )
480
480
. current_dir ( )
481
481
. context ( RustupError :: LocatingWorkingDir )
You can’t perform that action at this time.
0 commit comments