src/doc/man/includes/options-target-triple.md
{{#option "--target triple"}}
{{actionverb}} for the specified target architecture. {{#if multitarget }} Flag may be specified multiple times. {{/if}}
{{~#if target-default-to-all-arch}} The default is all architectures.
{{else}} The default is the host architecture.
{{/if}} The general format of the triple is
<arch><sub>-<vendor>-<sys>-<abi>.
Possible values:
rustc --print target-list."host-tuple", which will internally be substituted by the host's target. This can be particularly useful if you're cross-compiling some crates, and don't want to specify your host's machine as a target (for instance, an xtask in a shared project that may be worked on by many hosts).This may also be specified with the build.target config value.
Note that specifying this flag makes Cargo run in a different mode where the target artifacts are placed in a separate directory. See the build cache documentation for more details. {{/option}}