Linux command
rustup-set 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Set the default host triple
rustup set default-host [x86_64-unknown-linux-gnu]
Set the installation profile to minimal
rustup set profile minimal
Set the installation profile to default
rustup set profile default
Enable automatic self-updates
rustup set auto-self-update enable
Disable automatic self-updates
rustup set auto-self-update disable
说明
rustup set configures rustup settings that affect default behavior for new toolchain installations and updates. The profile setting controls which components are installed by default, and the auto-self-update setting controls whether rustup updates itself when running `rustup update`.
FAQ
What is the rustup-set command used for?
rustup set configures rustup settings that affect default behavior for new toolchain installations and updates. The profile setting controls which components are installed by default, and the auto-self-update setting controls whether rustup updates itself when running `rustup update`.
How do I run a basic rustup-set example?
Run `rustup set default-host [x86_64-unknown-linux-gnu]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more rustup-set examples?
This page includes 5 examples for rustup-set, plus related commands for nearby Linux tasks.