您可能安装了多个夜间工具链。要列出所有已安装的工具链,请运行rustup show
. 输出将如下所示:
Default host: x86_64-unknown-linux-gnu
rustup home: /home/fpoli/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (default)
nightly-2018-06-27-x86_64-unknown-linux-gnu
nightly-2021-02-24-x86_64-unknown-linux-gnu
nightly-2021-09-20-x86_64-unknown-linux-gnu
active toolchain
----------------
stable-x86_64-unknown-linux-gnu (default)
rustc 1.54.0 (a178d0322 2021-07-26)
现在您知道已安装的版本,您可以使用以下命令删除它们:
rustup toolchain remove nightly-2018-06-27 nightly-2021-02-24 nightly-2021-09-20