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