LinuxCommandLibrary

rustup-target

Manage Rust cross-compilation targets

TLDR

List targets

$ rustup target list
copy
Add target
$ rustup target add [wasm32-unknown-unknown]
copy
Add ARM target
$ rustup target add aarch64-unknown-linux-gnu
copy
Remove target
$ rustup target remove [target]
copy

SYNOPSIS

rustup target command [options]

DESCRIPTION

rustup target manages cross-compilation targets. Add targets to compile for different platforms (ARM, WebAssembly, Windows, etc.) from your current system.

PARAMETERS

list

List available targets.
add target
Install target.
remove target
Uninstall target.
--toolchain name
Target specific toolchain.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community