rustup target

Modify a toolchain's supported targets. Without the --toolchain option rustup will use the default toolchain. See rustup help toolchain for more information about toolchains. More information: https://rust-lang.github.io/rustup.

rustup target add --toolchain toolchain target

rustup target remove --toolchain toolchain target

rustup target list --toolchain toolchain

rustup target list --toolchain toolchain --installed