Verification
Problem
Not sure how I missed this in the betas (warning blindness?) but on a fresh install of rustup, rustup-init shows the following:
warn: It looks like you have an existing rustup settings file at:
warn: C:\Users\UtilityAccount\.rustup\settings.toml
warn: Rustup will install the default toolchain as specified in the settings file,
warn: instead of the one inferred from the default host triple.
Steps
- create a clean environment with no rustup directories
- run rustup-init
Possible Solution(s)
No response
Notes
This happens because of:
|
let mut cfg = Cfg::from_env(current_dir, quiet, process)?; |
|
self_update::install(no_prompt, opts, &mut cfg).await |
We ensure a cfg exists and then run the install, which checks for an existing cfg.
Rustup version
rustup-init 1.29.0 (28d1352db 2026-03-05)
Installed toolchains
OS version
Verification
Problem
Not sure how I missed this in the betas (warning blindness?) but on a fresh install of rustup,
rustup-initshows the following:Steps
Possible Solution(s)
No response
Notes
This happens because of:
rustup/src/cli/setup_mode.rs
Lines 133 to 134 in c43b0e7
We ensure a cfg exists and then run the install, which checks for an existing cfg.
Rustup version
rustup-init 1.29.0 (28d1352db 2026-03-05)Installed toolchains
n/aOS version
Windows 11