-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Verification
- I searched for recent similar issues at https://github.com/rust-lang/rustup/issues?q=is%3Aissue and found no duplicates.
- I am on the latest version of Rustup according to https://github.com/rust-lang/rustup/tags and am still able to reproduce my issue.
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:
Lines 133 to 134 in c43b0e7
| 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
n/aOS version
Windows 11Reactions are currently unavailable