diff options
Diffstat (limited to 'src/doc/man/includes/options-target-triple.md')
-rw-r--r-- | src/doc/man/includes/options-target-triple.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/doc/man/includes/options-target-triple.md b/src/doc/man/includes/options-target-triple.md new file mode 100644 index 0000000..bb180f5 --- /dev/null +++ b/src/doc/man/includes/options-target-triple.md @@ -0,0 +1,16 @@ +{{#option "`--target` _triple_"}} +{{actionverb}} for the given architecture. +{{~#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>`. Run `rustc --print target-list` for a +list of supported targets. +{{~#if multitarget }} This flag may be specified multiple times. {{~/if}} + +This may also be specified with the `build.target` +[config value](../reference/config.html). + +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](../guide/build-cache.html) documentation for more details. +{{/option}} |