mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix errors in cargo fetch
usage guide
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
This commit is contained in:
parent
ea2a21c994
commit
08734a6643
@ -1,5 +1,6 @@
|
|||||||
# cargo-fetch(1)
|
# cargo-fetch(1)
|
||||||
{{*set actionverb="Fetch"}}
|
{{*set actionverb="Fetch"}}
|
||||||
|
{{*set target-default-to-all-arch=true}}
|
||||||
|
|
||||||
## NAME
|
## 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
|
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
|
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.
|
fetch` unless the lock file changes.
|
||||||
|
|
||||||
If the lock file is not available, then this command will generate the lock
|
If the lock file is not available, then this command will generate the lock
|
||||||
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
If a Cargo.lock file is available, this command will ensure that all of
|
If a Cargo.lock file is available, this command will ensure that all of
|
||||||
the git dependencies and/or registry dependencies are downloaded and
|
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.
|
after a cargo fetch unless the lock file changes.
|
||||||
|
|
||||||
If the lock file is not available, then this command will generate the
|
If the lock file is not available, then this command will generate the
|
||||||
@ -25,8 +25,8 @@ DESCRIPTION
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
Fetch options
|
Fetch options
|
||||||
--target triple
|
--target triple
|
||||||
Fetch for the given architecture. The default is the host
|
Fetch for the given architecture. The default is all architectures.
|
||||||
architecture. The general format of the triple is
|
The general format of the triple is
|
||||||
<arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for
|
<arch><sub>-<vendor>-<sys>-<abi>. Run rustc --print target-list for
|
||||||
a list of supported targets.
|
a list of supported targets.
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{{#option "`--target` _triple_"}}
|
{{#option "`--target` _triple_"}}
|
||||||
{{actionverb}} for the given architecture. The default is the host
|
{{actionverb}} for the given architecture.
|
||||||
architecture. The general format of the triple is
|
{{~#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
|
`<arch><sub>-<vendor>-<sys>-<abi>`. Run `rustc --print target-list` for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
|
|
||||||
|
@ -241,8 +241,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-bench---target"><a class="option-anchor" href="#option-cargo-bench---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-bench---target"><a class="option-anchor" href="#option-cargo-bench---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Benchmark for the given architecture. The default is the host
|
<dd class="option-desc">Benchmark for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -169,8 +169,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-build---target"><a class="option-anchor" href="#option-cargo-build---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-build---target"><a class="option-anchor" href="#option-cargo-build---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Build for the given architecture. The default is the host
|
<dd class="option-desc">Build for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -174,8 +174,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-check---target"><a class="option-anchor" href="#option-cargo-check---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-check---target"><a class="option-anchor" href="#option-cargo-check---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Check for the given architecture. The default is the host
|
<dd class="option-desc">Check for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -57,8 +57,7 @@ Defaults to <code>target</code> in the root of the workspace.</dd>
|
|||||||
|
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-clean---target"><a class="option-anchor" href="#option-cargo-clean---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-clean---target"><a class="option-anchor" href="#option-cargo-clean---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Clean for the given architecture. The default is the host
|
<dd class="option-desc">Clean for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -152,8 +152,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-doc---target"><a class="option-anchor" href="#option-cargo-doc---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-doc---target"><a class="option-anchor" href="#option-cargo-doc---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Document for the given architecture. The default is the host
|
<dd class="option-desc">Document for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# cargo-fetch(1)
|
# cargo-fetch(1)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## NAME
|
## NAME
|
||||||
|
|
||||||
cargo-fetch - Fetch dependencies of a package from the network
|
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
|
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
|
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.
|
fetch` unless the lock file changes.
|
||||||
|
|
||||||
If the lock file is not available, then this command will generate the lock
|
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.
|
|||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt class="option-term" id="option-cargo-fetch---target"><a class="option-anchor" href="#option-cargo-fetch---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-fetch---target"><a class="option-anchor" href="#option-cargo-fetch---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Fetch for the given architecture. The default is the host
|
<dd class="option-desc">Fetch for the given architecture. The default is all architectures. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -254,8 +254,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-fix---target"><a class="option-anchor" href="#option-cargo-fix---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-fix---target"><a class="option-anchor" href="#option-cargo-fix---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Fix for the given architecture. The default is the host
|
<dd class="option-desc">Fix for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -201,8 +201,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-install---target"><a class="option-anchor" href="#option-cargo-install---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-install---target"><a class="option-anchor" href="#option-cargo-install---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Install for the given architecture. The default is the host
|
<dd class="option-desc">Install for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -131,8 +131,7 @@ single quotes or double quotes around each pattern.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-package---target"><a class="option-anchor" href="#option-cargo-package---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-package---target"><a class="option-anchor" href="#option-cargo-package---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Package for the given architecture. The default is the host
|
<dd class="option-desc">Package for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -97,8 +97,7 @@ format.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-publish---target"><a class="option-anchor" href="#option-cargo-publish---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-publish---target"><a class="option-anchor" href="#option-cargo-publish---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Publish for the given architecture. The default is the host
|
<dd class="option-desc">Publish for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -87,8 +87,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-run---target"><a class="option-anchor" href="#option-cargo-run---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-run---target"><a class="option-anchor" href="#option-cargo-run---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Run for the given architecture. The default is the host
|
<dd class="option-desc">Run for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -156,8 +156,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-rustc---target"><a class="option-anchor" href="#option-cargo-rustc---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-rustc---target"><a class="option-anchor" href="#option-cargo-rustc---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Build for the given architecture. The default is the host
|
<dd class="option-desc">Build for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -171,8 +171,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-rustdoc---target"><a class="option-anchor" href="#option-cargo-rustdoc---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-rustdoc---target"><a class="option-anchor" href="#option-cargo-rustdoc---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Document for the given architecture. The default is the host
|
<dd class="option-desc">Document for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -250,8 +250,7 @@ be specified multiple times, which enables all specified features.</dd>
|
|||||||
<dl>
|
<dl>
|
||||||
|
|
||||||
<dt class="option-term" id="option-cargo-test---target"><a class="option-anchor" href="#option-cargo-test---target"></a><code>--target</code> <em>triple</em></dt>
|
<dt class="option-term" id="option-cargo-test---target"><a class="option-anchor" href="#option-cargo-test---target"></a><code>--target</code> <em>triple</em></dt>
|
||||||
<dd class="option-desc">Test for the given architecture. The default is the host
|
<dd class="option-desc">Test for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
<code><arch><sub>-<vendor>-<sys>-<abi></code>. Run <code>rustc --print target-list</code> for a
|
||||||
list of supported targets.</p>
|
list of supported targets.</p>
|
||||||
<p>This may also be specified with the <code>build.target</code>
|
<p>This may also be specified with the <code>build.target</code>
|
||||||
|
@ -244,8 +244,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Benchmark for the given architecture. The default is the host
|
Benchmark for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -156,8 +156,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Build for the given architecture. The default is the host
|
Build for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -161,8 +161,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Check for the given architecture. The default is the host
|
Check for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -51,8 +51,7 @@ Defaults to \fBtarget\fR in the root of the workspace.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Clean for the given architecture. The default is the host
|
Clean for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -134,8 +134,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Document for the given architecture. The default is the host
|
Document for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -10,7 +10,7 @@ cargo\-fetch \- Fetch dependencies of a package from the network
|
|||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
If a \fBCargo.lock\fR file is available, this command will ensure that all of the
|
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
|
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
|
.sp
|
||||||
If the lock file is not available, then this command will generate the lock
|
If the lock file is not available, then this command will generate the lock
|
||||||
file before fetching the dependencies.
|
file before fetching the dependencies.
|
||||||
@ -25,8 +25,7 @@ you plan to use Cargo without a network with the \fB\-\-offline\fR flag.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Fetch for the given architecture. The default is the host
|
Fetch for the given architecture. The default is all architectures. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -256,8 +256,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Fix for the given architecture. The default is the host
|
Fix for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -229,8 +229,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Install for the given architecture. The default is the host
|
Install for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -146,8 +146,7 @@ single quotes or double quotes around each pattern.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Package for the given architecture. The default is the host
|
Package for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -96,8 +96,7 @@ format.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Publish for the given architecture. The default is the host
|
Publish for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -67,8 +67,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Run for the given architecture. The default is the host
|
Run for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -142,8 +142,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Build for the given architecture. The default is the host
|
Build for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -153,8 +153,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Document for the given architecture. The default is the host
|
Document for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
@ -253,8 +253,7 @@ Do not activate the \fBdefault\fR feature of the selected packages.
|
|||||||
.sp
|
.sp
|
||||||
\fB\-\-target\fR \fItriple\fR
|
\fB\-\-target\fR \fItriple\fR
|
||||||
.RS 4
|
.RS 4
|
||||||
Test for the given architecture. The default is the host
|
Test for the given architecture. The default is the host architecture. The general format of the triple is
|
||||||
architecture. The general format of the triple is
|
|
||||||
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
\fB<arch><sub>\-<vendor>\-<sys>\-<abi>\fR\&. Run \fBrustc \-\-print target\-list\fR for a
|
||||||
list of supported targets.
|
list of supported targets.
|
||||||
.sp
|
.sp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user