mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
added link to 'target triple' in documentation for cargo-metadata and cargo-tree commands
This commit is contained in:
parent
985d561f0b
commit
eaaa48fbaa
@ -311,7 +311,8 @@ possible value.</dd>
|
||||
|
||||
<dt class="option-term" id="option-cargo-metadata---filter-platform"><a class="option-anchor" href="#option-cargo-metadata---filter-platform"></a><code>--filter-platform</code> <em>triple</em></dt>
|
||||
<dd class="option-desc">This filters the <code>resolve</code> output to only include dependencies for the
|
||||
given target triple. Without this flag, the resolve includes all targets.</p>
|
||||
given <a href="../appendix/glossary.md#target">target triple</a>. Without this flag, the resolve includes
|
||||
all targets.</p>
|
||||
<p>Note that the dependencies listed in the "packages" array still includes all
|
||||
dependencies. Each package definition is intended to be an unaltered
|
||||
reproduction of the information within <code>Cargo.toml</code>.</dd>
|
||||
|
@ -137,9 +137,8 @@ kind given, then it will automatically include the other dependency kinds.</li>
|
||||
|
||||
|
||||
<dt class="option-term" id="option-cargo-tree---target"><a class="option-anchor" href="#option-cargo-tree---target"></a><code>--target</code> <em>triple</em></dt>
|
||||
<dd class="option-desc">Filter dependencies matching the given target-triple. The default is the host
|
||||
platform. Use the value <code>all</code> to include <em>all</em> targets.</dd>
|
||||
|
||||
<dd class="option-desc">Filter dependencies matching the given <a href="../appendix/glossary.md#target">target triple</a>.
|
||||
The default is the host platform. Use the value <code>all</code> to include <em>all</em> targets.</dd>
|
||||
|
||||
</dl>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user