diff --git a/src/doc/man/cargo-fetch.md b/src/doc/man/cargo-fetch.md index 2cca5f797..601ddb248 100644 --- a/src/doc/man/cargo-fetch.md +++ b/src/doc/man/cargo-fetch.md @@ -1,5 +1,6 @@ # cargo-fetch(1) {{*set actionverb="Fetch"}} +{{*set target-default-to-all-arch=true}} ## NAME @@ -13,7 +14,7 @@ cargo-fetch - Fetch dependencies of a package from the network If a `Cargo.lock` file is available, this command will ensure that all of the git dependencies and/or registry dependencies are downloaded and locally -available. Subsequent Cargo commands never touch the network after a `cargo +available. Subsequent Cargo commands will be able to run offline after a `cargo fetch` unless the lock file changes. If the lock file is not available, then this command will generate the lock diff --git a/src/doc/man/generated_txt/cargo-fetch.txt b/src/doc/man/generated_txt/cargo-fetch.txt index 91664c46b..7c97d01d2 100644 --- a/src/doc/man/generated_txt/cargo-fetch.txt +++ b/src/doc/man/generated_txt/cargo-fetch.txt @@ -9,7 +9,7 @@ SYNOPSIS DESCRIPTION If a Cargo.lock file is available, this command will ensure that all of the git dependencies and/or registry dependencies are downloaded and - locally available. Subsequent Cargo commands never touch the network + locally available. Subsequent Cargo commands will be able to run offline after a cargo fetch unless the lock file changes. If the lock file is not available, then this command will generate the @@ -25,8 +25,8 @@ DESCRIPTION OPTIONS Fetch options --target triple - Fetch for the given architecture. The default is the host - architecture. The general format of the triple is + Fetch for the given architecture. The default is all architectures. + The general format of the triple is ---. Run rustc --print target-list for a list of supported targets. diff --git a/src/doc/man/includes/options-target-triple.md b/src/doc/man/includes/options-target-triple.md index 6ad03c6f4..9d91de66c 100644 --- a/src/doc/man/includes/options-target-triple.md +++ b/src/doc/man/includes/options-target-triple.md @@ -1,6 +1,8 @@ {{#option "`--target` _triple_"}} -{{actionverb}} for the given architecture. The default is the host -architecture. The general format of the triple is +{{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 `---`. Run `rustc --print target-list` for a list of supported targets. diff --git a/src/doc/src/commands/cargo-bench.md b/src/doc/src/commands/cargo-bench.md index 95343ef3d..94543d04a 100644 --- a/src/doc/src/commands/cargo-bench.md +++ b/src/doc/src/commands/cargo-bench.md @@ -241,8 +241,7 @@ be specified multiple times, which enables all specified features.
--target triple
-
Benchmark for the given architecture. The default is the host -architecture. The general format of the triple is +
Benchmark for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-build.md b/src/doc/src/commands/cargo-build.md index c1a55f4b0..8ac698671 100644 --- a/src/doc/src/commands/cargo-build.md +++ b/src/doc/src/commands/cargo-build.md @@ -169,8 +169,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Build for the given architecture. The default is the host -architecture. The general format of the triple is +
Build for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-check.md b/src/doc/src/commands/cargo-check.md index 4c1068f97..13d64329f 100644 --- a/src/doc/src/commands/cargo-check.md +++ b/src/doc/src/commands/cargo-check.md @@ -174,8 +174,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Check for the given architecture. The default is the host -architecture. The general format of the triple is +
Check for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-clean.md b/src/doc/src/commands/cargo-clean.md index 4f38f03b1..86b188b65 100644 --- a/src/doc/src/commands/cargo-clean.md +++ b/src/doc/src/commands/cargo-clean.md @@ -57,8 +57,7 @@ Defaults to target in the root of the workspace.

--target triple
-
Clean for the given architecture. The default is the host -architecture. The general format of the triple is +
Clean for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-doc.md b/src/doc/src/commands/cargo-doc.md index fc25c692e..1495c71e7 100644 --- a/src/doc/src/commands/cargo-doc.md +++ b/src/doc/src/commands/cargo-doc.md @@ -152,8 +152,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Document for the given architecture. The default is the host -architecture. The general format of the triple is +
Document for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-fetch.md b/src/doc/src/commands/cargo-fetch.md index 675d99e60..0a6a7224f 100644 --- a/src/doc/src/commands/cargo-fetch.md +++ b/src/doc/src/commands/cargo-fetch.md @@ -1,6 +1,7 @@ # cargo-fetch(1) + ## NAME cargo-fetch - Fetch dependencies of a package from the network @@ -13,7 +14,7 @@ cargo-fetch - Fetch dependencies of a package from the network If a `Cargo.lock` file is available, this command will ensure that all of the git dependencies and/or registry dependencies are downloaded and locally -available. Subsequent Cargo commands never touch the network after a `cargo +available. Subsequent Cargo commands will be able to run offline after a `cargo fetch` unless the lock file changes. If the lock file is not available, then this command will generate the lock @@ -31,8 +32,7 @@ you plan to use Cargo without a network with the `--offline` flag.

--target triple
-
Fetch for the given architecture. The default is the host -architecture. The general format of the triple is +
Fetch for the given architecture. The default is all architectures. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-fix.md b/src/doc/src/commands/cargo-fix.md index b00344a3e..eeeda3d5d 100644 --- a/src/doc/src/commands/cargo-fix.md +++ b/src/doc/src/commands/cargo-fix.md @@ -254,8 +254,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Fix for the given architecture. The default is the host -architecture. The general format of the triple is +
Fix for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-install.md b/src/doc/src/commands/cargo-install.md index 7d11122e1..0fbc4a3d0 100644 --- a/src/doc/src/commands/cargo-install.md +++ b/src/doc/src/commands/cargo-install.md @@ -201,8 +201,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Install for the given architecture. The default is the host -architecture. The general format of the triple is +
Install for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-package.md b/src/doc/src/commands/cargo-package.md index 57f11332f..4ac9db605 100644 --- a/src/doc/src/commands/cargo-package.md +++ b/src/doc/src/commands/cargo-package.md @@ -131,8 +131,7 @@ single quotes or double quotes around each pattern.

--target triple
-
Package for the given architecture. The default is the host -architecture. The general format of the triple is +
Package for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-publish.md b/src/doc/src/commands/cargo-publish.md index f35e30ef7..79cf1f4a7 100644 --- a/src/doc/src/commands/cargo-publish.md +++ b/src/doc/src/commands/cargo-publish.md @@ -97,8 +97,7 @@ format.

--target triple
-
Publish for the given architecture. The default is the host -architecture. The general format of the triple is +
Publish for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-run.md b/src/doc/src/commands/cargo-run.md index ec7d28a92..abd9b536f 100644 --- a/src/doc/src/commands/cargo-run.md +++ b/src/doc/src/commands/cargo-run.md @@ -87,8 +87,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Run for the given architecture. The default is the host -architecture. The general format of the triple is +
Run for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-rustc.md b/src/doc/src/commands/cargo-rustc.md index a1ffcc811..d5f98e8d9 100644 --- a/src/doc/src/commands/cargo-rustc.md +++ b/src/doc/src/commands/cargo-rustc.md @@ -156,8 +156,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Build for the given architecture. The default is the host -architecture. The general format of the triple is +
Build for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-rustdoc.md b/src/doc/src/commands/cargo-rustdoc.md index 8417a5d27..12550053e 100644 --- a/src/doc/src/commands/cargo-rustdoc.md +++ b/src/doc/src/commands/cargo-rustdoc.md @@ -171,8 +171,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Document for the given architecture. The default is the host -architecture. The general format of the triple is +
Document for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/doc/src/commands/cargo-test.md b/src/doc/src/commands/cargo-test.md index 5cb84bbf0..53409f548 100644 --- a/src/doc/src/commands/cargo-test.md +++ b/src/doc/src/commands/cargo-test.md @@ -250,8 +250,7 @@ be specified multiple times, which enables all specified features.

--target triple
-
Test for the given architecture. The default is the host -architecture. The general format of the triple is +
Test for the given architecture. The default is the host architecture. The general format of the triple is <arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for a list of supported targets.

This may also be specified with the build.target diff --git a/src/etc/man/cargo-bench.1 b/src/etc/man/cargo-bench.1 index b38409e24..0b19113e8 100644 --- a/src/etc/man/cargo-bench.1 +++ b/src/etc/man/cargo-bench.1 @@ -244,8 +244,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Benchmark for the given architecture. The default is the host -architecture. The general format of the triple is +Benchmark for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-build.1 b/src/etc/man/cargo-build.1 index 80c7b9887..4cd70517e 100644 --- a/src/etc/man/cargo-build.1 +++ b/src/etc/man/cargo-build.1 @@ -156,8 +156,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Build for the given architecture. The default is the host -architecture. The general format of the triple is +Build for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-check.1 b/src/etc/man/cargo-check.1 index d49686727..b151e9c7d 100644 --- a/src/etc/man/cargo-check.1 +++ b/src/etc/man/cargo-check.1 @@ -161,8 +161,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Check for the given architecture. The default is the host -architecture. The general format of the triple is +Check for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-clean.1 b/src/etc/man/cargo-clean.1 index 20b9fa1f1..5ff3fc5e5 100644 --- a/src/etc/man/cargo-clean.1 +++ b/src/etc/man/cargo-clean.1 @@ -51,8 +51,7 @@ Defaults to \fBtarget\fR in the root of the workspace. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Clean for the given architecture. The default is the host -architecture. The general format of the triple is +Clean for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-doc.1 b/src/etc/man/cargo-doc.1 index 089aac26c..390da2a7a 100644 --- a/src/etc/man/cargo-doc.1 +++ b/src/etc/man/cargo-doc.1 @@ -134,8 +134,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Document for the given architecture. The default is the host -architecture. The general format of the triple is +Document for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-fetch.1 b/src/etc/man/cargo-fetch.1 index ef5d989dc..29727934b 100644 --- a/src/etc/man/cargo-fetch.1 +++ b/src/etc/man/cargo-fetch.1 @@ -10,7 +10,7 @@ cargo\-fetch \- Fetch dependencies of a package from the network .SH "DESCRIPTION" If a \fBCargo.lock\fR file is available, this command will ensure that all of the git dependencies and/or registry dependencies are downloaded and locally -available. Subsequent Cargo commands never touch the network after a \fBcargo fetch\fR unless the lock file changes. +available. Subsequent Cargo commands will be able to run offline after a \fBcargo fetch\fR unless the lock file changes. .sp If the lock file is not available, then this command will generate the lock file before fetching the dependencies. @@ -25,8 +25,7 @@ you plan to use Cargo without a network with the \fB\-\-offline\fR flag. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Fetch for the given architecture. The default is the host -architecture. The general format of the triple is +Fetch for the given architecture. The default is all architectures. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-fix.1 b/src/etc/man/cargo-fix.1 index d5ee2200b..6957d6708 100644 --- a/src/etc/man/cargo-fix.1 +++ b/src/etc/man/cargo-fix.1 @@ -256,8 +256,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Fix for the given architecture. The default is the host -architecture. The general format of the triple is +Fix for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-install.1 b/src/etc/man/cargo-install.1 index bb68b3c8d..800317b4a 100644 --- a/src/etc/man/cargo-install.1 +++ b/src/etc/man/cargo-install.1 @@ -229,8 +229,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Install for the given architecture. The default is the host -architecture. The general format of the triple is +Install for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-package.1 b/src/etc/man/cargo-package.1 index 3258628f5..6892821d2 100644 --- a/src/etc/man/cargo-package.1 +++ b/src/etc/man/cargo-package.1 @@ -146,8 +146,7 @@ single quotes or double quotes around each pattern. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Package for the given architecture. The default is the host -architecture. The general format of the triple is +Package for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-publish.1 b/src/etc/man/cargo-publish.1 index afd4e9139..9df93801e 100644 --- a/src/etc/man/cargo-publish.1 +++ b/src/etc/man/cargo-publish.1 @@ -96,8 +96,7 @@ format. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Publish for the given architecture. The default is the host -architecture. The general format of the triple is +Publish for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-run.1 b/src/etc/man/cargo-run.1 index c9689525b..4a940619c 100644 --- a/src/etc/man/cargo-run.1 +++ b/src/etc/man/cargo-run.1 @@ -67,8 +67,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Run for the given architecture. The default is the host -architecture. The general format of the triple is +Run for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-rustc.1 b/src/etc/man/cargo-rustc.1 index b303fe95d..2611b91c2 100644 --- a/src/etc/man/cargo-rustc.1 +++ b/src/etc/man/cargo-rustc.1 @@ -142,8 +142,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Build for the given architecture. The default is the host -architecture. The general format of the triple is +Build for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-rustdoc.1 b/src/etc/man/cargo-rustdoc.1 index 59c1a22fb..8da621313 100644 --- a/src/etc/man/cargo-rustdoc.1 +++ b/src/etc/man/cargo-rustdoc.1 @@ -153,8 +153,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Document for the given architecture. The default is the host -architecture. The general format of the triple is +Document for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp diff --git a/src/etc/man/cargo-test.1 b/src/etc/man/cargo-test.1 index 71b738350..d04f146d7 100644 --- a/src/etc/man/cargo-test.1 +++ b/src/etc/man/cargo-test.1 @@ -253,8 +253,7 @@ Do not activate the \fBdefault\fR feature of the selected packages. .sp \fB\-\-target\fR \fItriple\fR .RS 4 -Test for the given architecture. The default is the host -architecture. The general format of the triple is +Test for the given architecture. The default is the host architecture. The general format of the triple is \fB\-\-\-\fR\&. Run \fBrustc \-\-print target\-list\fR for a list of supported targets. .sp