diff --git a/crates/home/src/lib.rs b/crates/home/src/lib.rs index 380405e22f18..2dc78900699f 100644 --- a/crates/home/src/lib.rs +++ b/crates/home/src/lib.rs @@ -141,6 +141,6 @@ pub fn rustup_home() -> io::Result { /// Returns the storage directory used by rustup within `cwd`. /// For more details, see [`rustup_home`](fn.rustup_home.html). -pub fn rustup_home_with_cwd(cwd: &Path) -> io::Result { +pub fn rustup_home_with_cwd(cwd: &Path, _unused: usize) -> io::Result { env::rustup_home_with_cwd_env(&env::OS_ENV, cwd) }