Skip to content

Commit

Permalink
Fix windows CI
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
  • Loading branch information
Rustin170506 committed Jul 19, 2021
1 parent 9ed9455 commit 53d442a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ use crate::{DUP_TOOLS, TOOLS};
use os::*;
pub(crate) use os::{delete_rustup_and_cargo_home, run_update, self_replace};
#[cfg(windows)]
pub(crate) use windows::complete_windows_uninstall;
pub use windows::complete_windows_uninstall;

pub struct InstallOpts<'a> {
pub default_host_triple: Option<String>,
Expand Down
2 changes: 1 addition & 1 deletion src/cli/self_update/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub(crate) fn do_msvc_check(opts: &InstallOpts<'_>) -> bool {
}

/// Run by rustup-gc-$num.exe to delete CARGO_HOME
pub(crate) fn complete_windows_uninstall() -> Result<utils::ExitCode> {
pub fn complete_windows_uninstall() -> Result<utils::ExitCode> {
use std::process::Stdio;

wait_for_parent()?;
Expand Down

0 comments on commit 53d442a

Please sign in to comment.