rustup
rustup copied to clipboard
rustup update error: detected conflict
I run the commands PS E:\dev> rustc --version rustc 1.74.1 (a28077b28 2023-12-04) PS E:\dev> cargo --version cargo 1.74.1 (ecb9851af 2023-10-18) PS E:\dev> rustup update
after download, it prompts:
nfo: installing component 'rust-std' for 'i686-pc-windows-gnu'
22.3 MiB / 22.3 MiB (100 %) 12.8 MiB/s in 2s ETA: 0s
info: installing component 'rust-std' for 'i686-pc-windows-msvc'
18.1 MiB / 18.1 MiB (100 %) 12.4 MiB/s in 1s ETA: 0s
info: installing component 'rust-src'
info: rolling back changes
error: failed to install component: 'rust-src', detected conflict: 'lib/rustlib\manifest-rust-src'
info: checking for self-update
stable-x86_64-pc-windows-gnu update failed - rustc 1.74.1 (a28077b28 2023-12-04)
info: cleaning up downloads & tmp directories.
what should I do to update ?