LinuxCommandLibrary

rustup-set

Alter `rustup` settings.

TLDR

Set the default host triple

$ rustup set default-host [host_triple]
copy


Set the default profile (minimal includes only rustc, rust-std and cargo, whereas default adds rust-docs, rustfmt and clippy)
$ rustup set profile [minimal|default]
copy


Set whether rustup should update itself when running rustup update
$ rustup set auto-self-update [enable|disable|check-only]
copy

Copied to clipboard