答案 0 :(得分:13)
要从我的Ubuntu 16.04安装中卸载curl https://sh.rustup.rs -sSf | sh
,rustc
和rustup
,我做到了:
cargo
它奏效了。
答案 1 :(得分:2)
答案 2 :(得分:0)
这在Mac上对我有用:
$ sudo sh /usr/local/lib/rustlib/uninstall.sh
install: uninstalling component 'rustc'
install: uninstalling component 'rust-std-aarch64-apple-darwin'
install: uninstalling component 'cargo'
install: uninstalling component 'rust-docs'
install: uninstalling component 'rls-preview'
install: uninstalling component 'rust-analysis-aarch64-apple-darwin'
Rust is uninstalled.