If I install rustup with the standard flow from https://rustup.rs/, and then uninstall it with rustup self uninstall, my entire ~/.cargo directory gets deleted. This happens even if I have a lot of binaries in there installed by my system's version of Cargo, from before I started using rustup. Is that intended? I think rustup should uninstall the shims that it put in ~/.cargo/bin, but not assume it owns the entire directory.
If I install rustup with the standard flow from https://rustup.rs/, and then uninstall it with
rustup self uninstall, my entire~/.cargodirectory gets deleted. This happens even if I have a lot of binaries in there installed by my system's version of Cargo, from before I started using rustup. Is that intended? I think rustup should uninstall the shims that it put in~/.cargo/bin, but not assume it owns the entire directory.