本文介绍了如何使用 Rustup 删除 Rust 编译器工具链?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Rustup 文档展示了如何每晚安装 Rust,但不知道如何删除它.

The Rustup documentation shows how to install Rust nightly, but not how to remove it.

虽然文档确实展示了如何完全卸载 rustup,但我想保持稳定的分支.

While the docs do show how to uninstall rustup entirely, I'd like to keep the stable branch.

如何每晚卸载 Rust?

How can I uninstall Rust nightly?

注意,我试图做与 rustup install nightly 相反的事情......(rustup uninstall nightly, rustup remove nightly & 每晚生锈删除)无济于事.

Note that I attempted to do the opposite of rustup install nightly... (rustup uninstall nightly, rustup remove nightly & rustup delete nightly) to no avail.

即使我阅读了文档,也不清楚 nightlytoolchainchannel... 或其他东西.

Even though I read the documentation it wasn't clear that nightly was a toolchain, a channel... or something else.

推荐答案

您要查找的命令是:

rustup toolchain remove nightly

removeuninstall 都适用于此.

更多详情请见:

rustup help toolchain

这篇关于如何使用 Rustup 删除 Rust 编译器工具链?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 12:52