rustup set
Alter rustup settings.
More information: https://rust-lang.github.io/rustup.
-
Set the default host triple:
rustup set default-host {{host_triple}} -
Set the default profile (
minimalincludes onlyrustc,rust-stdandcargo, whereasdefaultaddsrust-docs,rustfmtandclippy):
rustup set profile {{minimal|default}} -
Set whether
rustupshould update itself when runningrustup update:
rustup set auto-self-update {{enable|disable|check-only}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.