cargo
Rust target triples
A target name identifies an output platform such as aarch64-unknown-linux-gnu. Host tools run on the build machine; target programs run on the destination. A compiler listing does not establish installation or execution support. Example format: shell. Manual illustration; review prerequisites and side effects before execution. No automatic installation, updates, network calls or configuration changes. Expected result (not executed): A version-specific list of recognized targets. Common mistake: Assuming every listed target has distributed libraries or can run on the host.
Formal Syntax & Structure
rust syntaxrust
rustc --print target-listWorking Example
Example Snippetrust
rustc --print target-list