Skip to content

Commit 07cb923

Browse files
committed
fix(cli/rustup-mode): add missing self-update in rustup toolchain install
1 parent 9335c43 commit 07cb923

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli/rustup_mode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,7 @@ async fn update(
10131013
let (toolchain, source) = cfg.ensure_active_toolchain(force_non_host, true).await?;
10141014
info!("the active toolchain `{toolchain}` has been installed");
10151015
info!("it's active because: {}", source.to_reason());
1016+
exit_code &= self_update_mode.update(should_self_update, &dl_cfg).await?;
10161017
} else {
10171018
exit_code &= common::update_all_channels(cfg, opts.force).await?;
10181019
exit_code &= self_update_mode.update(should_self_update, &dl_cfg).await?;

0 commit comments

Comments
 (0)