mirror of https://github.com/CrimsonTome/tldr.git
656 B
656 B
rustup target
Modify a toolchain's supported targets. Without the
--toolchain
optionrustup
will use the default toolchain. Seerustup help toolchain
for more information about toolchains. More information: https://rust-lang.github.io/rustup.
- Add a target to a toolchain:
rustup target add --toolchain {{toolchain}} {{target}}
- Remove a target from a toolchain:
rustup target remove --toolchain {{toolchain}} {{target}}
- List available and installed targets for a toolchain:
rustup target list --toolchain {{toolchain}}
- List installed targets for a toolchain:
rustup target list --toolchain {{toolchain}} --installed