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 (
minimal
includes onlyrustc
,rust-std
andcargo
, whereasdefault
addsrust-docs
,rustfmt
andclippy
):
rustup set profile {{minimal|default}}
-
Set whether
rustup
should 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.