LinuxCommandLibrary

rustup-target

Modify a toolchain's supported targets.

TLDR

Add a target to a toolchain

$ rustup target add --toolchain [toolchain] [target]
copy


Remove a target from a toolchain
$ rustup target remove --toolchain [toolchain] [target]
copy


List available and installed targets for a toolchain
$ rustup target list --toolchain [toolchain]
copy


List installed targets for a toolchain
$ rustup target list --toolchain [toolchain] --installed
copy

Copied to clipboard